#AB2F22#AB2F22

#AB2F22 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.163 H 29.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB2F22
RGBrgb(171, 47, 34)
HSLhsl(6, 67%, 40%)
HSVhsv(6, 80%, 67%)
CMYKcmyk(0%, 72.5%, 80.1%, 32.9%)
CIE-LABlab(39.26, 49.50, 37.34)
CIE-LCHlch(39.26, 62.00, 37.03°)
OKLaboklab(49.53% 0.141 0.081)
OKLCHoklch(49.53% 0.163 29.9)
XYZxyz(18.1020, 10.8092, 2.6463)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F22 #229EAB
analogous
#AB225A #AB2F22 #AB7322
triadic
#AB2F22 #22AB2F #2F22AB
tetradic
#AB2F22 #5AAB22 #229EAB #7322AB
square
#AB2F22 #5AAB22 #229EAB #7322AB
split-complementary
#AB2F22 #22AB73 #225AAB
monochromatic
#45130E #782118 #AB2F22 #D74334 #E17267

Accessibility & contrast

On white

6.64
#AB2F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F22
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F22#FFFFFF#000000##FFFFFF
##AB2F221.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1F
Deuteranopia (green-blind)
#73661C
Tritanopia (blue-blind)
#BD002D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2f22;
/* rgb */ color: rgb(171, 47, 34);
/* oklch */ color: oklch(49.5% 0.163 29.9);
Tailwind
colors: {
  custom: {
    50: '#cd705e',
    500: '#ab2f22',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f22;
$custom-light: #cd705e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f22",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 5.693,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.16263,
    "h": 29.9
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#AB2F22
secondary
#63BDC6
accent
#D9EA3E
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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