#871816#871816

#871816 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.146 H 27.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#871816
RGBrgb(135, 24, 22)
HSLhsl(1, 72%, 31%)
HSVhsv(1, 84%, 53%)
CMYKcmyk(0%, 82.2%, 83.7%, 47.1%)
CIE-LABlab(29.07, 45.39, 31.53)
CIE-LCHlch(29.07, 55.27, 34.78°)
OKLaboklab(40.6% 0.1298 0.0675)
OKLCHoklch(40.6% 0.146 27.5)
XYZxyz(10.4644, 5.8638, 1.3397)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871816 #168587
analogous
#87164C #871816 #875016
triadic
#871816 #168718 #181687
tetradic
#871816 #4C8716 #168587 #501687
square
#871816 #4C8716 #168587 #501687
split-complementary
#871816 #168750 #164C87
monochromatic
#1E0505 #520F0D #871816 #BC211F #DF3C39

Accessibility & contrast

On white

9.67
#871816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#871816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871816
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871816#FFFFFF#000000##FFFFFF
##8718161.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3514
Deuteranopia (green-blind)
#574D10
Tritanopia (blue-blind)
#950019
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #871816;
/* rgb */ color: rgb(135, 24, 22);
/* oklch */ color: oklch(40.6% 0.146 27.5);
Tailwind
colors: {
  custom: {
    50: '#b36154',
    500: '#871816',
    950: '#000000',
  },
}
SCSS
$custom: #871816;
$custom-light: #b36154;
$custom-dark: #000000;
JSON
{
  "hex": "#871816",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 22
  },
  "hsl": {
    "h": 1.062,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40603,
    "c": 0.14631,
    "h": 27.5
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#871816
secondary
#3EB9BB
accent
#EBEF39
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130503
muted
#827A78

Preview Lab

Preview with #871816

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

Preview Lab → · Contrast checker → · Palette generator →

#871816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva