#871E1F#871E1F

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

Color values

HEX#871E1F
RGBrgb(135, 30, 31)
HSLhsl(359, 64%, 32%)
HSVhsv(359, 78%, 53%)
CMYKcmyk(0%, 77.8%, 77%, 47.1%)
CIE-LABlab(29.86, 43.78, 26.97)
CIE-LCHlch(29.86, 51.42, 31.63°)
OKLaboklab(41.23% 0.1268 0.0604)
OKLCHoklch(41.23% 0.14 25.5)
XYZxyz(10.7045, 6.1800, 1.9253)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E1F #1E8786
analogous
#871E53 #871E1F #87521E
triadic
#871E1F #1F871E #1E1F87
tetradic
#871E1F #53871E #1E8786 #521E87
square
#871E1F #53871E #1E8786 #521E87
split-complementary
#871E1F #1E8752 #1E5387
monochromatic
#230808 #551314 #871E1F #B9292A #D7494A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871E1F#FFFFFF#000000##FFFFFF
##871E1F1.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)
#3E381E
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e1f;
/* rgb */ color: rgb(135, 30, 31);
/* oklch */ color: oklch(41.2% 0.140 25.5);
Tailwind
colors: {
  custom: {
    50: '#b2635b',
    500: '#871e1f',
    950: '#000000',
  },
}
SCSS
$custom: #871e1f;
$custom-light: #b2635b;
$custom-dark: #000000;
JSON
{
  "hex": "#871e1f",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.1404,
    "h": 25.5
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#871E1F
secondary
#48B9B8
accent
#E7E541
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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