#871E24#871E24

#871E24 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 23.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#871E24
RGBrgb(135, 30, 36)
HSLhsl(357, 64%, 32%)
HSVhsv(357, 78%, 53%)
CMYKcmyk(0%, 77.8%, 73.3%, 47.1%)
CIE-LABlab(29.93, 44.01, 23.91)
CIE-LCHlch(29.93, 50.08, 28.52°)
OKLaboklab(41.3% 0.1286 0.0548)
OKLCHoklch(41.3% 0.14 23.1)
XYZxyz(10.7756, 6.2085, 2.2997)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E24 #1E8781
analogous
#871E59 #871E24 #874C1E
triadic
#871E24 #24871E #1E2487
tetradic
#871E24 #59871E #1E8781 #4C1E87
square
#871E24 #59871E #1E8781 #4C1E87
split-complementary
#871E24 #1E874C #1E5987
monochromatic
#230809 #551317 #871E24 #B92931 #D74951

Accessibility & contrast

On white

9.37
#871E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E24
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E24#FFFFFF#000000##FFFFFF
##871E241.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3823
Deuteranopia (green-blind)
#574F20
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e24;
/* rgb */ color: rgb(135, 30, 36);
/* oklch */ color: oklch(41.3% 0.140 23.1);
Tailwind
colors: {
  custom: {
    50: '#b1635e',
    500: '#871e24',
    950: '#000000',
  },
}
SCSS
$custom: #871e24;
$custom-light: #b1635e;
$custom-dark: #000000;
JSON
{
  "hex": "#871e24",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 36
  },
  "hsl": {
    "h": 356.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.13984,
    "h": 23.1
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#871E24
secondary
#48B9B2
accent
#E7DD41
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871E24

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

Preview Lab → · Contrast checker → · Palette generator →

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