#871E20#871E20

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

Color values

HEX#871E20
RGBrgb(135, 30, 32)
HSLhsl(359, 64%, 32%)
HSVhsv(359, 78%, 53%)
CMYKcmyk(0%, 77.8%, 76.3%, 47.1%)
CIE-LABlab(29.88, 43.82, 26.36)
CIE-LCHlch(29.88, 51.14, 31.03°)
OKLaboklab(41.24% 0.1271 0.0593)
OKLCHoklch(41.24% 0.14 25)
XYZxyz(10.7179, 6.1854, 1.9958)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E20 #1E8785
analogous
#871E55 #871E20 #87501E
triadic
#871E20 #20871E #1E2087
tetradic
#871E20 #55871E #1E8785 #501E87
square
#871E20 #55871E #1E8785 #501E87
split-complementary
#871E20 #1E8750 #1E5587
monochromatic
#230808 #551314 #871E20 #B9292C #D7494C

Accessibility & contrast

On white

9.39
#871E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E20
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E20#FFFFFF#000000##FFFFFF
##871E201.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381F
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e20;
/* rgb */ color: rgb(135, 30, 32);
/* oklch */ color: oklch(41.2% 0.140 25.0);
Tailwind
colors: {
  custom: {
    50: '#b2635b',
    500: '#871e20',
    950: '#000000',
  },
}
SCSS
$custom: #871e20;
$custom-light: #b2635b;
$custom-dark: #000000;
JSON
{
  "hex": "#871e20",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 32
  },
  "hsl": {
    "h": 358.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.14028,
    "h": 25
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#871E20
secondary
#48B9B7
accent
#E7E441
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871E20

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

Preview Lab → · Contrast checker → · Palette generator →

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