#871C17#871C17

#871C17 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.143 H 28.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#871C17
RGBrgb(135, 28, 23)
HSLhsl(3, 71%, 31%)
HSVhsv(3, 83%, 53%)
CMYKcmyk(0%, 79.3%, 83%, 47.1%)
CIE-LABlab(29.53, 44.16, 31.40)
CIE-LCHlch(29.53, 54.19, 35.42°)
OKLaboklab(40.95% 0.1262 0.0676)
OKLCHoklch(40.95% 0.143 28.2)
XYZxyz(10.5629, 6.0450, 1.4211)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C17 #178287
analogous
#87174A #871C17 #875417
triadic
#871C17 #17871C #1C1787
tetradic
#871C17 #4A8717 #178287 #541787
square
#871C17 #4A8717 #178287 #541787
split-complementary
#871C17 #178754 #174A87
monochromatic
#1E0605 #53110E #871C17 #BB2720 #DE423B

Accessibility & contrast

On white

9.51
#871C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C17
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C17#FFFFFF#000000##FFFFFF
##871C171.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c17;
/* rgb */ color: rgb(135, 28, 23);
/* oklch */ color: oklch(40.9% 0.143 28.2);
Tailwind
colors: {
  custom: {
    50: '#b36255',
    500: '#871c17',
    950: '#000000',
  },
}
SCSS
$custom: #871c17;
$custom-light: #b36255;
$custom-dark: #000000;
JSON
{
  "hex": "#871c17",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 2.679,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.14312,
    "h": 28.2
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#871C17
secondary
#3FB5BB
accent
#E6EE3A
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #871C17

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

Preview Lab → · Contrast checker → · Palette generator →

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