#871B29#871B29

#871B29 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 19.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#871B29
RGBrgb(135, 27, 41)
HSLhsl(352, 67%, 32%)
HSVhsv(352, 80%, 53%)
CMYKcmyk(0%, 80%, 69.6%, 47.1%)
CIE-LABlab(29.65, 45.28, 20.35)
CIE-LCHlch(29.65, 49.64, 24.20°)
OKLaboklab(41.12% 0.1339 0.0478)
OKLCHoklch(41.12% 0.142 19.6)
XYZxyz(10.7850, 6.0965, 2.7063)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B29 #1B8779
analogous
#871B5F #871B29 #87431B
triadic
#871B29 #29871B #1B2987
tetradic
#871B29 #5F871B #1B8779 #431B87
square
#871B29 #5F871B #1B8779 #431B87
split-complementary
#871B29 #1B8743 #1B5F87
monochromatic
#21070A #54111A #871B29 #BA2538 #D94356

Accessibility & contrast

On white

9.46
#871B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B29
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B29#FFFFFF#000000##FFFFFF
##871B291.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b29;
/* rgb */ color: rgb(135, 27, 41);
/* oklch */ color: oklch(41.1% 0.142 19.6);
Tailwind
colors: {
  custom: {
    50: '#b16262',
    500: '#871b29',
    950: '#000000',
  },
}
SCSS
$custom: #871b29;
$custom-light: #b16262;
$custom-dark: #000000;
JSON
{
  "hex": "#871b29",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 352.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.14213,
    "h": 19.6
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#871B29
secondary
#44BAAB
accent
#EAD33E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871B29

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

Preview Lab → · Contrast checker → · Palette generator →

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