#871617#871617

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

Color values

HEX#871617
RGBrgb(135, 22, 23)
HSLhsl(359, 72%, 31%)
HSVhsv(359, 84%, 53%)
CMYKcmyk(0%, 83.7%, 83%, 47.1%)
CIE-LABlab(28.87, 46.00, 30.75)
CIE-LCHlch(28.87, 55.33, 33.77°)
OKLaboklab(40.46% 0.132 0.0661)
OKLCHoklch(40.46% 0.148 26.6)
XYZxyz(10.4345, 5.7883, 1.3783)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871617 #168786
analogous
#87164F #871617 #874D16
triadic
#871617 #178716 #161787
tetradic
#871617 #4F8716 #168786 #4D1687
square
#871617 #4F8716 #168786 #4D1687
split-complementary
#871617 #16874D #164F87
monochromatic
#1E0505 #520D0E #871617 #BC1F20 #DF393A

Accessibility & contrast

On white

9.73
#871617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871617
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871617#FFFFFF#000000##FFFFFF
##8716171.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3415
Deuteranopia (green-blind)
#564D11
Tritanopia (blue-blind)
#950018
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #871617;
/* rgb */ color: rgb(135, 22, 23);
/* oklch */ color: oklch(40.5% 0.148 26.6);
Tailwind
colors: {
  custom: {
    50: '#b36055',
    500: '#871617',
    950: '#000000',
  },
}
SCSS
$custom: #871617;
$custom-light: #b36055;
$custom-dark: #000000;
JSON
{
  "hex": "#871617",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 23
  },
  "hsl": {
    "h": 359.469,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.14761,
    "h": 26.6
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#871617
secondary
#3EBBBA
accent
#EFED39
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130503
muted
#827A78

Preview Lab

Preview with #871617

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

Preview Lab → · Contrast checker → · Palette generator →

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