#AB2A20#AB2A20

#AB2A20 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 29.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB2A20
RGBrgb(171, 42, 32)
HSLhsl(4, 68%, 40%)
HSVhsv(4, 81%, 67%)
CMYKcmyk(0%, 75.4%, 81.3%, 32.9%)
CIE-LABlab(38.59, 51.23, 37.76)
CIE-LCHlch(38.59, 63.64, 36.39°)
OKLaboklab(49.03% 0.146 0.0813)
OKLCHoklch(49.03% 0.167 29.1)
XYZxyz(17.8854, 10.4210, 2.4359)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A20 #20A1AB
analogous
#AB205B #AB2A20 #AB7020
triadic
#AB2A20 #20AB2A #2A20AB
tetradic
#AB2A20 #5BAB20 #20A1AB #7020AB
square
#AB2A20 #5BAB20 #20A1AB #7020AB
split-complementary
#AB2A20 #20AB70 #205BAB
monochromatic
#44110D #771D16 #AB2A20 #D83C30 #E26D63

Accessibility & contrast

On white

6.81
#AB2A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A20
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A20#FFFFFF#000000##FFFFFF
##AB2A201.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491D
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#BD0029
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a20;
/* rgb */ color: rgb(171, 42, 32);
/* oklch */ color: oklch(49.0% 0.167 29.1);
Tailwind
colors: {
  custom: {
    50: '#cd6e5d',
    500: '#ab2a20',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a20;
$custom-light: #cd6e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a20",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 4.317,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.16713,
    "h": 29.1
  },
  "luminance": 0.10418
}

Semantic roles & 50–950 ramp

primary
#AB2A20
secondary
#60C0C7
accent
#DFEB3C
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2A20

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

Preview Lab → · Contrast checker → · Palette generator →

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