#AB2E21#AB2E21

#AB2E21 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.4% C 0.164 H 29.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB2E21
RGBrgb(171, 46, 33)
HSLhsl(6, 68%, 40%)
HSVhsv(6, 81%, 67%)
CMYKcmyk(0%, 73.1%, 80.7%, 32.9%)
CIE-LABlab(39.11, 49.83, 37.74)
CIE-LCHlch(39.11, 62.51, 37.14°)
OKLaboklab(49.42% 0.1419 0.0816)
OKLCHoklch(49.42% 0.164 29.9)
XYZxyz(18.0482, 10.7245, 2.5583)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E21 #219EAB
analogous
#AB2159 #AB2E21 #AB7321
triadic
#AB2E21 #21AB2E #2E21AB
tetradic
#AB2E21 #59AB21 #219EAB #7321AB
square
#AB2E21 #59AB21 #219EAB #7321AB
split-complementary
#AB2E21 #21AB73 #2159AB
monochromatic
#44120D #782017 #AB2E21 #D74132 #E17165

Accessibility & contrast

On white

6.68
#AB2E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB2E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E21
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E21#FFFFFF#000000##FFFFFF
##AB2E211.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2e21;
/* rgb */ color: rgb(171, 46, 33);
/* oklch */ color: oklch(49.4% 0.164 29.9);
Tailwind
colors: {
  custom: {
    50: '#cd705e',
    500: '#ab2e21',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e21;
$custom-light: #cd705e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e21",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 33
  },
  "hsl": {
    "h": 5.652,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.16365,
    "h": 29.9
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#AB2E21
secondary
#61BDC7
accent
#DAEB3D
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2E21

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

Preview Lab → · Contrast checker → · Palette generator →

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