#871B1A#871B1A

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

Color values

HEX#871B1A
RGBrgb(135, 27, 26)
HSLhsl(1, 68%, 32%)
HSVhsv(1, 81%, 53%)
CMYKcmyk(0%, 80%, 80.7%, 47.1%)
CIE-LABlab(29.44, 44.59, 29.56)
CIE-LCHlch(29.44, 53.50, 33.54°)
OKLaboklab(40.89% 0.1282 0.0646)
OKLCHoklch(40.89% 0.144 26.7)
XYZxyz(10.5713, 6.0110, 1.5807)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B1A #1A8687
analogous
#871A50 #871B1A #87521A
triadic
#871B1A #1A871B #1B1A87
tetradic
#871B1A #50871A #1A8687 #521A87
square
#871B1A #50871A #1A8687 #521A87
split-complementary
#871B1A #1A8752 #1A5087
monochromatic
#200606 #541110 #871B1A #BA2524 #DA4241

Accessibility & contrast

On white

9.54
#871B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B1A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B1A#FFFFFF#000000##FFFFFF
##871B1A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3618
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871b1a;
/* rgb */ color: rgb(135, 27, 26);
/* oklch */ color: oklch(40.9% 0.144 26.7);
Tailwind
colors: {
  custom: {
    50: '#b26257',
    500: '#871b1a',
    950: '#000000',
  },
}
SCSS
$custom: #871b1a;
$custom-light: #b26257;
$custom-dark: #000000;
JSON
{
  "hex": "#871b1a",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 26
  },
  "hsl": {
    "h": 0.55,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.14353,
    "h": 26.7
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#871B1A
secondary
#42B9BA
accent
#E9EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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