#871F20#871F20

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

Color values

HEX#871F20
RGBrgb(135, 31, 32)
HSLhsl(359, 63%, 33%)
HSVhsv(359, 77%, 53%)
CMYKcmyk(0%, 77%, 76.3%, 47.1%)
CIE-LABlab(30.00, 43.47, 26.51)
CIE-LCHlch(30.00, 50.91, 31.37°)
OKLaboklab(41.34% 0.126 0.0596)
OKLCHoklch(41.34% 0.139 25.3)
XYZxyz(10.7436, 6.2368, 2.0043)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F20 #1F8786
analogous
#871F54 #871F20 #87521F
triadic
#871F20 #20871F #1F2087
tetradic
#871F20 #54871F #1F8786 #521F87
square
#871F20 #54871F #1F8786 #521F87
split-complementary
#871F20 #1F8752 #1F5487
monochromatic
#230808 #551414 #871F20 #B92A2C #D64B4C

Accessibility & contrast

On white

9.35
#871F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F20
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F20#FFFFFF#000000##FFFFFF
##871F201.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f20;
/* rgb */ color: rgb(135, 31, 32);
/* oklch */ color: oklch(41.3% 0.139 25.3);
Tailwind
colors: {
  custom: {
    50: '#b2645b',
    500: '#871f20',
    950: '#000000',
  },
}
SCSS
$custom: #871f20;
$custom-light: #b2645b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f20",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41336,
    "c": 0.1394,
    "h": 25.3
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#871F20
secondary
#4AB8B7
accent
#E6E442
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871F20

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

Preview Lab → · Contrast checker → · Palette generator →

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