#871C29#871C29

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

Color values

HEX#871C29
RGBrgb(135, 28, 41)
HSLhsl(353, 66%, 32%)
HSVhsv(353, 79%, 53%)
CMYKcmyk(0%, 79.3%, 69.6%, 47.1%)
CIE-LABlab(29.77, 44.95, 20.49)
CIE-LCHlch(29.77, 49.40, 24.51°)
OKLaboklab(41.21% 0.1328 0.0481)
OKLCHoklch(41.21% 0.141 19.9)
XYZxyz(10.8084, 6.1432, 2.7140)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C29 #1C877A
analogous
#871C5F #871C29 #87441C
triadic
#871C29 #29871C #1C2987
tetradic
#871C29 #5F871C #1C877A #441C87
square
#871C29 #5F871C #1C877A #441C87
split-complementary
#871C29 #1C8744 #1C5F87
monochromatic
#22070A #54111A #871C29 #BA2738 #D84557

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C29#FFFFFF#000000##FFFFFF
##871C291.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)
#3C3829
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c29;
/* rgb */ color: rgb(135, 28, 41);
/* oklch */ color: oklch(41.2% 0.141 19.9);
Tailwind
colors: {
  custom: {
    50: '#b16362',
    500: '#871c29',
    950: '#000000',
  },
}
SCSS
$custom: #871c29;
$custom-light: #b16362;
$custom-dark: #000000;
JSON
{
  "hex": "#871c29",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 41
  },
  "hsl": {
    "h": 352.71,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.14126,
    "h": 19.9
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#871C29
secondary
#45BAAC
accent
#E9D43F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871C29

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

Preview Lab → · Contrast checker → · Palette generator →

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