#871C24#871C24

#871C24 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 22.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#871C24
RGBrgb(135, 28, 36)
HSLhsl(356, 66%, 32%)
HSVhsv(356, 79%, 53%)
CMYKcmyk(0%, 79.3%, 73.3%, 47.1%)
CIE-LABlab(29.69, 44.69, 23.62)
CIE-LCHlch(29.69, 50.55, 27.86°)
OKLaboklab(41.12% 0.1308 0.0542)
OKLCHoklch(41.12% 0.142 22.5)
XYZxyz(10.7266, 6.1104, 2.2834)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C24 #1C877F
analogous
#871C5A #871C24 #874A1C
triadic
#871C24 #24871C #1C2487
tetradic
#871C24 #5A871C #1C877F #4A1C87
square
#871C24 #5A871C #1C877F #4A1C87
split-complementary
#871C24 #1C874A #1C5A87
monochromatic
#220709 #541116 #871C24 #BA2732 #D84550

Accessibility & contrast

On white

9.45
#871C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C24
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C24#FFFFFF#000000##FFFFFF
##871C241.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3723
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c24;
/* rgb */ color: rgb(135, 28, 36);
/* oklch */ color: oklch(41.1% 0.142 22.5);
Tailwind
colors: {
  custom: {
    50: '#b2635e',
    500: '#871c24',
    950: '#000000',
  },
}
SCSS
$custom: #871c24;
$custom-light: #b2635e;
$custom-dark: #000000;
JSON
{
  "hex": "#871c24",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 36
  },
  "hsl": {
    "h": 355.514,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.14159,
    "h": 22.5
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#871C24
secondary
#45BAB1
accent
#E9DC3F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871C24

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

Preview Lab → · Contrast checker → · Palette generator →

#871C24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva