#871A21#871A21

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

Color values

HEX#871A21
RGBrgb(135, 26, 33)
HSLhsl(356, 68%, 32%)
HSVhsv(356, 81%, 53%)
CMYKcmyk(0%, 80.7%, 75.6%, 47.1%)
CIE-LABlab(29.42, 45.19, 25.21)
CIE-LCHlch(29.42, 51.75, 29.15°)
OKLaboklab(40.9% 0.1317 0.057)
OKLCHoklch(40.9% 0.144 23.4)
XYZxyz(10.6368, 6.0012, 2.0368)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A21 #1A8780
analogous
#871A58 #871A21 #874A1A
triadic
#871A21 #21871A #1A2187
tetradic
#871A21 #58871A #1A8780 #4A1A87
square
#871A21 #58871A #1A8780 #4A1A87
split-complementary
#871A21 #1A874A #1A5887
monochromatic
#200608 #541014 #871A21 #BA242E #DA414B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A21#FFFFFF#000000##FFFFFF
##871A211.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)
#3C3620
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a21;
/* rgb */ color: rgb(135, 26, 33);
/* oklch */ color: oklch(40.9% 0.144 23.4);
Tailwind
colors: {
  custom: {
    50: '#b2625c',
    500: '#871a21',
    950: '#000000',
  },
}
SCSS
$custom: #871a21;
$custom-light: #b2625c;
$custom-dark: #000000;
JSON
{
  "hex": "#871a21",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 33
  },
  "hsl": {
    "h": 356.147,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.14353,
    "h": 23.4
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#871A21
secondary
#42BAB3
accent
#EBDF3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871A21

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

Preview Lab → · Contrast checker → · Palette generator →

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