#871716#871716

#871716 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.5% C 0.147 H 27.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#871716
RGBrgb(135, 23, 22)
HSLhsl(1, 72%, 31%)
HSVhsv(1, 84%, 53%)
CMYKcmyk(0%, 83%, 83.7%, 47.1%)
CIE-LABlab(28.96, 45.68, 31.43)
CIE-LCHlch(28.96, 55.45, 34.52°)
OKLaboklab(40.53% 0.1308 0.0672)
OKLCHoklch(40.53% 0.147 27.2)
XYZxyz(10.4442, 5.8233, 1.3330)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871716 #168687
analogous
#87164D #871716 #874F16
triadic
#871716 #168717 #171687
tetradic
#871716 #4D8716 #168687 #4F1687
square
#871716 #4D8716 #168687 #4F1687
split-complementary
#871716 #16874F #164D87
monochromatic
#1E0505 #520E0D #871716 #BC201F #DF3A39

Accessibility & contrast

On white

9.70
#871716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#871716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871716
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871716#FFFFFF#000000##FFFFFF
##8717161.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871716;
/* rgb */ color: rgb(135, 23, 22);
/* oklch */ color: oklch(40.5% 0.147 27.2);
Tailwind
colors: {
  custom: {
    50: '#b36054',
    500: '#871716',
    950: '#000000',
  },
}
SCSS
$custom: #871716;
$custom-light: #b36054;
$custom-dark: #000000;
JSON
{
  "hex": "#871716",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 22
  },
  "hsl": {
    "h": 0.531,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.14703,
    "h": 27.2
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#871716
secondary
#3EBABB
accent
#EDEF39
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130502
muted
#827A78

Preview Lab

Preview with #871716

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

Preview Lab → · Contrast checker → · Palette generator →

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