#871E16#871E16

#871E16 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 29.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#871E16
RGBrgb(135, 30, 22)
HSLhsl(4, 72%, 31%)
HSVhsv(4, 84%, 53%)
CMYKcmyk(0%, 77.8%, 83.7%, 47.1%)
CIE-LABlab(29.76, 43.44, 32.20)
CIE-LCHlch(29.76, 54.08, 36.55°)
OKLaboklab(41.12% 0.1237 0.0689)
OKLCHoklch(41.12% 0.142 29.1)
XYZxyz(10.6021, 6.1391, 1.3856)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E16 #167F87
analogous
#871646 #871E16 #875616
triadic
#871E16 #16871E #1E1687
tetradic
#871E16 #468716 #167F87 #561687
square
#871E16 #468716 #167F87 #561687
split-complementary
#871E16 #168756 #164687
monochromatic
#1E0705 #52120D #871E16 #BC2A1F #DF4439

Accessibility & contrast

On white

9.43
#871E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E16
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E16#FFFFFF#000000##FFFFFF
##871E161.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3714
Deuteranopia (green-blind)
#584E11
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e16;
/* rgb */ color: rgb(135, 30, 22);
/* oklch */ color: oklch(41.1% 0.142 29.1);
Tailwind
colors: {
  custom: {
    50: '#b26354',
    500: '#871e16',
    950: '#000000',
  },
}
SCSS
$custom: #871e16;
$custom-light: #b26354;
$custom-dark: #000000;
JSON
{
  "hex": "#871e16",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 22
  },
  "hsl": {
    "h": 4.248,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.14164,
    "h": 29.1
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#871E16
secondary
#3EB2BB
accent
#E2EF39
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130603
muted
#827A78

Preview Lab

Preview with #871E16

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

Preview Lab → · Contrast checker → · Palette generator →

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