#871F17#871F17

#871F17 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 29.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#871F17
RGBrgb(135, 31, 23)
HSLhsl(4, 71%, 31%)
HSVhsv(4, 83%, 53%)
CMYKcmyk(0%, 77%, 83%, 47.1%)
CIE-LABlab(29.90, 43.12, 31.77)
CIE-LCHlch(29.90, 53.56, 36.38°)
OKLaboklab(41.23% 0.1229 0.0684)
OKLCHoklch(41.23% 0.141 29.1)
XYZxyz(10.6376, 6.1944, 1.4460)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F17 #177F87
analogous
#871747 #871F17 #875717
triadic
#871F17 #17871F #1F1787
tetradic
#871F17 #478717 #177F87 #571787
square
#871F17 #478717 #177F87 #571787
split-complementary
#871F17 #178757 #174787
monochromatic
#1E0705 #53130E #871F17 #BB2B20 #DE463B

Accessibility & contrast

On white

9.38
#871F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F17
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F17#FFFFFF#000000##FFFFFF
##871F171.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871f17;
/* rgb */ color: rgb(135, 31, 23);
/* oklch */ color: oklch(41.2% 0.141 29.1);
Tailwind
colors: {
  custom: {
    50: '#b26455',
    500: '#871f17',
    950: '#000000',
  },
}
SCSS
$custom: #871f17;
$custom-light: #b26455;
$custom-dark: #000000;
JSON
{
  "hex": "#871f17",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.286,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.14066,
    "h": 29.1
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#871F17
secondary
#3FB2BB
accent
#E1EE3A
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #871F17

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

Preview Lab → · Contrast checker → · Palette generator →

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