#AB2A21

A color in the Red, Pink family

#ab2a21 is a color in the Red, Pink family: RGB(171, 42, 33), HSL(4°, 68%, 40%), CMYK(0%, 75%, 81%, 33%). Closest named color: brown. Contrast is 6.81:1 on white and 3.08:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ab2a21
RGBrgb(171 42 33)
RGB (legacy)rgb(171, 42, 33)
RGB %rgb(67% 16% 13%)
HSLhsl(4 68% 40%)
HSV / HSBhsv(4, 81%, 67%)
HWBhwb(4 13% 33%)
CMYKcmyk(0%, 75%, 81%, 33%)
CIELAB (D50)lab(39.26 52.07 38.6)
LCHlch(39.26 64.82 36.55)
OKLaboklab(0.4904 0.1463 0.0804)
OKLCHoklch(0.4904 0.167 28.8)
Decimal11217441

Properties

Color ToneRed, Pink
Closest named colorbrown ΔE 1.5
Closest web-safe color#993333
Hue4°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)40%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)31% / 27%
Relative luminance (WCAG)0.1042
Red / Green / Blue171 / 42 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.81:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 82.1 / -19.8 · As background with white / black text: Lc -87.2 / 21.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ab2a21;
  --color-brand-oklch: oklch(49.04% 0.167 28.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(171 42 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ab2a21] text-[#ab2a21] border-[#ab2a21]">