#871D23#871D23

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

Color values

HEX#871D23
RGBrgb(135, 29, 35)
HSLhsl(357, 65%, 32%)
HSVhsv(357, 79%, 53%)
CMYKcmyk(0%, 78.5%, 74.1%, 47.1%)
CIE-LABlab(29.79, 44.31, 24.38)
CIE-LCHlch(29.79, 50.57, 28.83°)
OKLaboklab(41.2% 0.1294 0.0557)
OKLCHoklch(41.2% 0.141 23.3)
XYZxyz(10.7356, 6.1526, 2.2121)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D23 #1D8781
analogous
#871D58 #871D23 #874C1D
triadic
#871D23 #23871D #1D2387
tetradic
#871D23 #58871D #1D8781 #4C1D87
square
#871D23 #58871D #1D8781 #4C1D87
split-complementary
#871D23 #1D874C #1D5887
monochromatic
#220709 #551216 #871D23 #B92830 #D7474F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D23#FFFFFF#000000##FFFFFF
##871D231.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)
#3D3822
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d23;
/* rgb */ color: rgb(135, 29, 35);
/* oklch */ color: oklch(41.2% 0.141 23.3);
Tailwind
colors: {
  custom: {
    50: '#b2635e',
    500: '#871d23',
    950: '#000000',
  },
}
SCSS
$custom: #871d23;
$custom-light: #b2635e;
$custom-dark: #000000;
JSON
{
  "hex": "#871d23",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 356.604,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41195,
    "c": 0.14082,
    "h": 23.3
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#871D23
secondary
#46B9B3
accent
#E8DE40
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871D23

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

Preview Lab → · Contrast checker → · Palette generator →

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