#871E17#871E17

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

Color values

HEX#871E17
RGBrgb(135, 30, 23)
HSLhsl(4, 71%, 31%)
HSVhsv(4, 83%, 53%)
CMYKcmyk(0%, 77.8%, 83%, 47.1%)
CIE-LABlab(29.77, 43.48, 31.65)
CIE-LCHlch(29.77, 53.77, 36.05°)
OKLaboklab(41.13% 0.124 0.0681)
OKLCHoklch(41.13% 0.142 28.8)
XYZxyz(10.6119, 6.1430, 1.4374)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E17 #178087
analogous
#871748 #871E17 #875617
triadic
#871E17 #17871E #1E1787
tetradic
#871E17 #488717 #178087 #561787
square
#871E17 #488717 #178087 #561787
split-complementary
#871E17 #178756 #174887
monochromatic
#1E0705 #53120E #871E17 #BB2A20 #DE453B

Accessibility & contrast

On white

9.42
#871E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E17
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E17#FFFFFF#000000##FFFFFF
##871E171.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#584E12
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e17;
/* rgb */ color: rgb(135, 30, 23);
/* oklch */ color: oklch(41.1% 0.141 28.8);
Tailwind
colors: {
  custom: {
    50: '#b26355',
    500: '#871e17',
    950: '#000000',
  },
}
SCSS
$custom: #871e17;
$custom-light: #b26355;
$custom-dark: #000000;
JSON
{
  "hex": "#871e17",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 3.75,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4113,
    "c": 0.1415,
    "h": 28.8
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#871E17
secondary
#3FB3BB
accent
#E2EE3A
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #871E17

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

Preview Lab → · Contrast checker → · Palette generator →

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