#AB371C#AB371C

#AB371C is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.4% C 0.157 H 34.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB371C
RGBrgb(171, 55, 28)
HSLhsl(11, 72%, 39%)
HSVhsv(11, 84%, 67%)
CMYKcmyk(0%, 67.8%, 83.6%, 32.9%)
CIE-LABlab(40.37, 46.11, 41.54)
CIE-LCHlch(40.37, 62.07, 42.01°)
OKLaboklab(50.35% 0.1294 0.0882)
OKLCHoklch(50.35% 0.157 34.3)
XYZxyz(18.3725, 11.4769, 2.3462)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB371C #1C90AB
analogous
#AB1C49 #AB371C #AB7F1C
triadic
#AB371C #1CAB37 #371CAB
tetradic
#AB371C #49AB1C #1C90AB #7F1CAB
square
#AB371C #49AB1C #1C90AB #7F1CAB
split-complementary
#AB371C #1CAB7F #1C49AB
monochromatic
#42150B #762613 #AB371C #DC4A28 #E4775D

Accessibility & contrast

On white

6.37
#AB371C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB371C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB371C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB371C#FFFFFF#000000##FFFFFF
##AB371C1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F17
Deuteranopia (green-blind)
#766916
Tritanopia (blue-blind)
#BD1032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab371c;
/* rgb */ color: rgb(171, 55, 28);
/* oklch */ color: oklch(50.4% 0.157 34.3);
Tailwind
colors: {
  custom: {
    50: '#cd745b',
    500: '#ab371c',
    950: '#000000',
  },
}
SCSS
$custom: #ab371c;
$custom-light: #cd745b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab371c",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 11.329,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.15658,
    "h": 34.3
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#AB371C
secondary
#5AB4C9
accent
#CCEF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150904
muted
#837B79

Preview Lab

Preview with #AB371C

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

Preview Lab → · Contrast checker → · Palette generator →

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