#871B21#871B21

#871B21 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 23.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#871B21
RGBrgb(135, 27, 33)
HSLhsl(357, 67%, 32%)
HSVhsv(357, 80%, 53%)
CMYKcmyk(0%, 80%, 75.6%, 47.1%)
CIE-LABlab(29.53, 44.88, 25.34)
CIE-LCHlch(29.53, 51.54, 29.45°)
OKLaboklab(40.99% 0.1307 0.0573)
OKLCHoklch(40.99% 0.143 23.7)
XYZxyz(10.6594, 6.0462, 2.0443)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B21 #1B8781
analogous
#871B57 #871B21 #874B1B
triadic
#871B21 #21871B #1B2187
tetradic
#871B21 #57871B #1B8781 #4B1B87
square
#871B21 #57871B #1B8781 #4B1B87
split-complementary
#871B21 #1B874B #1B5787
monochromatic
#210708 #541115 #871B21 #BA252D #D9434B

Accessibility & contrast

On white

9.51
#871B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871B21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B21
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B21#FFFFFF#000000##FFFFFF
##871B211.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b21;
/* rgb */ color: rgb(135, 27, 33);
/* oklch */ color: oklch(41.0% 0.143 23.7);
Tailwind
colors: {
  custom: {
    50: '#b2625c',
    500: '#871b21',
    950: '#000000',
  },
}
SCSS
$custom: #871b21;
$custom-light: #b2625c;
$custom-dark: #000000;
JSON
{
  "hex": "#871b21",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 33
  },
  "hsl": {
    "h": 356.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.14272,
    "h": 23.7
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#871B21
secondary
#44BAB4
accent
#EAE03E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871B21

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

Preview Lab → · Contrast checker → · Palette generator →

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