#AB2C21#AB2C21

#AB2C21 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.2% C 0.165 H 29.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB2C21
RGBrgb(171, 44, 33)
HSLhsl(5, 68%, 40%)
HSVhsv(5, 81%, 67%)
CMYKcmyk(0%, 74.3%, 80.7%, 32.9%)
CIE-LABlab(38.85, 50.56, 37.48)
CIE-LCHlch(38.85, 62.94, 36.55°)
OKLaboklab(49.23% 0.1441 0.081)
OKLCHoklch(49.23% 0.165 29.3)
XYZxyz(17.9719, 10.5719, 2.5328)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C21 #21A0AB
analogous
#AB215B #AB2C21 #AB7121
triadic
#AB2C21 #21AB2C #2C21AB
tetradic
#AB2C21 #5BAB21 #21A0AB #7121AB
square
#AB2C21 #5BAB21 #21A0AB #7121AB
split-complementary
#AB2C21 #21AB71 #215BAB
monochromatic
#44120D #781F17 #AB2C21 #D73F32 #E16F65

Accessibility & contrast

On white

6.74
#AB2C21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2C21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C21
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C21#FFFFFF#000000##FFFFFF
##AB2C211.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A1E
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#BD002B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2c21;
/* rgb */ color: rgb(171, 44, 33);
/* oklch */ color: oklch(49.2% 0.165 29.3);
Tailwind
colors: {
  custom: {
    50: '#cd6f5e',
    500: '#ab2c21',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c21;
$custom-light: #cd6f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c21",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 33
  },
  "hsl": {
    "h": 4.783,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.16534,
    "h": 29.3
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#AB2C21
secondary
#61BFC7
accent
#DDEB3D
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2C21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB2C21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva