#871A19#871A19

#871A19 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.144 H 26.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#871A19
RGBrgb(135, 26, 25)
HSLhsl(1, 69%, 31%)
HSVhsv(1, 81%, 53%)
CMYKcmyk(0%, 80.7%, 81.5%, 47.1%)
CIE-LABlab(29.32, 44.88, 30.02)
CIE-LCHlch(29.32, 53.99, 33.78°)
OKLaboklab(40.8% 0.1289 0.0652)
OKLCHoklch(40.8% 0.144 26.9)
XYZxyz(10.5378, 5.9616, 1.5154)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A19 #198687
analogous
#87194F #871A19 #875119
triadic
#871A19 #19871A #1A1987
tetradic
#871A19 #4F8719 #198687 #511987
square
#871A19 #4F8719 #198687 #511987
split-complementary
#871A19 #198751 #194F87
monochromatic
#200606 #53100F #871A19 #BB2423 #DB403F

Accessibility & contrast

On white

9.58
#871A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#871A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A19
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A19#FFFFFF#000000##FFFFFF
##871A191.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3617
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#95001B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a19;
/* rgb */ color: rgb(135, 26, 25);
/* oklch */ color: oklch(40.8% 0.144 26.9);
Tailwind
colors: {
  custom: {
    50: '#b26256',
    500: '#871a19',
    950: '#000000',
  },
}
SCSS
$custom: #871a19;
$custom-light: #b26256;
$custom-dark: #000000;
JSON
{
  "hex": "#871a19",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 25
  },
  "hsl": {
    "h": 0.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.14444,
    "h": 26.9
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#871A19
secondary
#41B9BA
accent
#EAEC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871A19

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

Preview Lab → · Contrast checker → · Palette generator →

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