#871E2B#871E2B

#871E2B is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.4% C 0.139 H 19.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#871E2B
RGBrgb(135, 30, 43)
HSLhsl(353, 64%, 32%)
HSVhsv(353, 78%, 53%)
CMYKcmyk(0%, 77.8%, 68.1%, 47.1%)
CIE-LABlab(30.05, 44.39, 19.54)
CIE-LCHlch(30.05, 48.50, 23.76°)
OKLaboklab(41.43% 0.1315 0.0463)
OKLCHoklch(41.43% 0.139 19.4)
XYZxyz(10.8932, 6.2555, 2.9189)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E2B #1E877A
analogous
#871E60 #871E2B #87451E
triadic
#871E2B #2B871E #1E2B87
tetradic
#871E2B #60871E #1E877A #451E87
square
#871E2B #60871E #1E877A #451E87
split-complementary
#871E2B #1E8745 #1E6087
monochromatic
#23080B #55131B #871E2B #B9293B #D7495A

Accessibility & contrast

On white

9.33
#871E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E2B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E2B#FFFFFF#000000##FFFFFF
##871E2B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392B
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e2b;
/* rgb */ color: rgb(135, 30, 43);
/* oklch */ color: oklch(41.4% 0.139 19.4);
Tailwind
colors: {
  custom: {
    50: '#b16464',
    500: '#871e2b',
    950: '#000000',
  },
}
SCSS
$custom: #871e2b;
$custom-light: #b16464;
$custom-dark: #000000;
JSON
{
  "hex": "#871e2b",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 352.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.13936,
    "h": 19.4
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#871E2B
secondary
#48B9AB
accent
#E7D241
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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