#871A20#871A20

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

Color values

HEX#871A20
RGBrgb(135, 26, 32)
HSLhsl(357, 68%, 32%)
HSVhsv(357, 81%, 53%)
CMYKcmyk(0%, 80.7%, 76.3%, 47.1%)
CIE-LABlab(29.40, 45.15, 25.83)
CIE-LCHlch(29.40, 52.01, 29.77°)
OKLaboklab(40.89% 0.1313 0.0581)
OKLCHoklch(40.89% 0.144 23.9)
XYZxyz(10.6230, 5.9957, 1.9642)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A20 #1A8781
analogous
#871A57 #871A20 #874B1A
triadic
#871A20 #20871A #1A2087
tetradic
#871A20 #57871A #1A8781 #4B1A87
square
#871A20 #57871A #1A8781 #4B1A87
split-complementary
#871A20 #1A874B #1A5787
monochromatic
#200608 #541014 #871A20 #BA242C #DA4149

Accessibility & contrast

On white

9.55
#871A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A20
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A20#FFFFFF#000000##FFFFFF
##871A201.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361F
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a20;
/* rgb */ color: rgb(135, 26, 32);
/* oklch */ color: oklch(40.9% 0.144 23.9);
Tailwind
colors: {
  custom: {
    50: '#b2625b',
    500: '#871a20',
    950: '#000000',
  },
}
SCSS
$custom: #871a20;
$custom-light: #b2625b;
$custom-dark: #000000;
JSON
{
  "hex": "#871a20",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 32
  },
  "hsl": {
    "h": 356.697,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.14363,
    "h": 23.9
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#871A20
secondary
#42BAB4
accent
#EBE13D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871A20

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

Preview Lab → · Contrast checker → · Palette generator →

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