#871D29#871D29

#871D29 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 20.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#871D29
RGBrgb(135, 29, 41)
HSLhsl(353, 65%, 32%)
HSVhsv(353, 79%, 53%)
CMYKcmyk(0%, 78.5%, 69.6%, 47.1%)
CIE-LABlab(29.89, 44.62, 20.64)
CIE-LCHlch(29.89, 49.16, 24.83°)
OKLaboklab(41.3% 0.1317 0.0485)
OKLCHoklch(41.3% 0.14 20.2)
XYZxyz(10.8325, 6.1914, 2.7221)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D29 #1D877B
analogous
#871D5E #871D29 #87461D
triadic
#871D29 #29871D #1D2987
tetradic
#871D29 #5E871D #1D877B #461D87
square
#871D29 #5E871D #1D877B #461D87
split-complementary
#871D29 #1D8746 #1D5E87
monochromatic
#22070A #55121A #871D29 #B92838 #D74757

Accessibility & contrast

On white

9.38
#871D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D29
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D29#FFFFFF#000000##FFFFFF
##871D291.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#574E26
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d29;
/* rgb */ color: rgb(135, 29, 41);
/* oklch */ color: oklch(41.3% 0.140 20.2);
Tailwind
colors: {
  custom: {
    50: '#b16362',
    500: '#871d29',
    950: '#000000',
  },
}
SCSS
$custom: #871d29;
$custom-light: #b16362;
$custom-dark: #000000;
JSON
{
  "hex": "#871d29",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 41
  },
  "hsl": {
    "h": 353.208,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.14037,
    "h": 20.2
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#871D29
secondary
#46B9AC
accent
#E8D540
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871D29

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

Preview Lab → · Contrast checker → · Palette generator →

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