#871D22#871D22

#871D22 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.141 H 23.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#871D22
RGBrgb(135, 29, 34)
HSLhsl(357, 65%, 32%)
HSVhsv(357, 79%, 53%)
CMYKcmyk(0%, 78.5%, 74.8%, 47.1%)
CIE-LABlab(29.78, 44.26, 25.00)
CIE-LCHlch(29.78, 50.83, 29.46°)
OKLaboklab(41.18% 0.129 0.0568)
OKLCHoklch(41.18% 0.141 23.8)
XYZxyz(10.7210, 6.1468, 2.1350)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D22 #1D8782
analogous
#871D57 #871D22 #874D1D
triadic
#871D22 #22871D #1D2287
tetradic
#871D22 #57871D #1D8782 #4D1D87
square
#871D22 #57871D #1D8782 #4D1D87
split-complementary
#871D22 #1D874D #1D5787
monochromatic
#220709 #551215 #871D22 #B9282F #D7474E

Accessibility & contrast

On white

9.42
#871D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D22
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D22#FFFFFF#000000##FFFFFF
##871D221.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3821
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d22;
/* rgb */ color: rgb(135, 29, 34);
/* oklch */ color: oklch(41.2% 0.141 23.8);
Tailwind
colors: {
  custom: {
    50: '#b2635d',
    500: '#871d22',
    950: '#000000',
  },
}
SCSS
$custom: #871d22;
$custom-light: #b2635d;
$custom-dark: #000000;
JSON
{
  "hex": "#871d22",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 357.17,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.14092,
    "h": 23.8
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#871D22
secondary
#46B9B4
accent
#E8E040
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871D22

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

Preview Lab → · Contrast checker → · Palette generator →

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