#871A1D#871A1D

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

Color values

HEX#871A1D
RGBrgb(135, 26, 29)
HSLhsl(358, 68%, 32%)
HSVhsv(358, 81%, 53%)
CMYKcmyk(0%, 80.7%, 78.5%, 47.1%)
CIE-LABlab(29.36, 45.02, 27.65)
CIE-LCHlch(29.36, 52.84, 31.55°)
OKLaboklab(40.85% 0.1302 0.0613)
OKLCHoklch(40.85% 0.144 25.2)
XYZxyz(10.5841, 5.9801, 1.7591)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A1D #1A8784
analogous
#871A54 #871A1D #874E1A
triadic
#871A1D #1D871A #1A1D87
tetradic
#871A1D #54871A #1A8784 #4E1A87
square
#871A1D #54871A #1A8784 #4E1A87
split-complementary
#871A1D #1A874E #1A5487
monochromatic
#200607 #541012 #871A1D #BA2428 #DA4145

Accessibility & contrast

On white

9.56
#871A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871A1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A1D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A1D#FFFFFF#000000##FFFFFF
##871A1D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a1d;
/* rgb */ color: rgb(135, 26, 29);
/* oklch */ color: oklch(40.8% 0.144 25.2);
Tailwind
colors: {
  custom: {
    50: '#b26259',
    500: '#871a1d',
    950: '#000000',
  },
}
SCSS
$custom: #871a1d;
$custom-light: #b26259;
$custom-dark: #000000;
JSON
{
  "hex": "#871a1d",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 29
  },
  "hsl": {
    "h": 358.349,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40848,
    "c": 0.14395,
    "h": 25.2
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#871A1D
secondary
#42BAB7
accent
#EBE63D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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