#AB2D21#AB2D21

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

Color values

HEX#AB2D21
RGBrgb(171, 45, 33)
HSLhsl(5, 68%, 40%)
HSVhsv(5, 81%, 67%)
CMYKcmyk(0%, 73.7%, 80.7%, 32.9%)
CIE-LABlab(38.98, 50.20, 37.61)
CIE-LCHlch(38.98, 62.72, 36.84°)
OKLaboklab(49.32% 0.143 0.0813)
OKLCHoklch(49.32% 0.165 29.6)
XYZxyz(18.0096, 10.6473, 2.5454)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D21 #219FAB
analogous
#AB215A #AB2D21 #AB7221
triadic
#AB2D21 #21AB2D #2D21AB
tetradic
#AB2D21 #5AAB21 #219FAB #7221AB
square
#AB2D21 #5AAB21 #219FAB #7221AB
split-complementary
#AB2D21 #21AB72 #215AAB
monochromatic
#44120D #781F17 #AB2D21 #D74032 #E17065

Accessibility & contrast

On white

6.71
#AB2D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D21
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D21#FFFFFF#000000##FFFFFF
##AB2D211.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#BD002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2d21;
/* rgb */ color: rgb(171, 45, 33);
/* oklch */ color: oklch(49.3% 0.165 29.6);
Tailwind
colors: {
  custom: {
    50: '#cd6f5e',
    500: '#ab2d21',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d21;
$custom-light: #cd6f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d21",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 33
  },
  "hsl": {
    "h": 5.217,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49324,
    "c": 0.1645,
    "h": 29.6
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#AB2D21
secondary
#61BEC7
accent
#DBEB3D
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2D21

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

Preview Lab → · Contrast checker → · Palette generator →

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