#871B22#871B22

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

Color values

HEX#871B22
RGBrgb(135, 27, 34)
HSLhsl(356, 67%, 32%)
HSVhsv(356, 80%, 53%)
CMYKcmyk(0%, 80%, 74.8%, 47.1%)
CIE-LABlab(29.54, 44.92, 24.72)
CIE-LCHlch(29.54, 51.28, 28.83°)
OKLaboklab(41% 0.1311 0.0562)
OKLCHoklch(41% 0.143 23.2)
XYZxyz(10.6736, 6.0519, 2.1192)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B22 #1B8780
analogous
#871B58 #871B22 #874A1B
triadic
#871B22 #22871B #1B2287
tetradic
#871B22 #58871B #1B8780 #4A1B87
square
#871B22 #58871B #1B8780 #4A1B87
split-complementary
#871B22 #1B874A #1B5887
monochromatic
#210708 #541115 #871B22 #BA252F #D9434D

Accessibility & contrast

On white

9.50
#871B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B22
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B22#FFFFFF#000000##FFFFFF
##871B221.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b22;
/* rgb */ color: rgb(135, 27, 34);
/* oklch */ color: oklch(41.0% 0.143 23.2);
Tailwind
colors: {
  custom: {
    50: '#b2625d',
    500: '#871b22',
    950: '#000000',
  },
}
SCSS
$custom: #871b22;
$custom-light: #b2625d;
$custom-dark: #000000;
JSON
{
  "hex": "#871b22",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 356.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41004,
    "c": 0.14262,
    "h": 23.2
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#871B22
secondary
#44BAB2
accent
#EADE3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871B22

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

Preview Lab → · Contrast checker → · Palette generator →

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