#871F29#871F29

#871F29 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 20.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#871F29
RGBrgb(135, 31, 41)
HSLhsl(354, 63%, 33%)
HSVhsv(354, 77%, 53%)
CMYKcmyk(0%, 77%, 69.6%, 47.1%)
CIE-LABlab(30.14, 43.92, 20.95)
CIE-LCHlch(30.14, 48.66, 25.50°)
OKLaboklab(41.48% 0.1295 0.0491)
OKLCHoklch(41.48% 0.139 20.8)
XYZxyz(10.8831, 6.2926, 2.7389)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F29 #1F877D
analogous
#871F5D #871F29 #87491F
triadic
#871F29 #29871F #1F2987
tetradic
#871F29 #5D871F #1F877D #491F87
square
#871F29 #5D871F #1F877D #491F87
split-complementary
#871F29 #1F8749 #1F5D87
monochromatic
#23080B #55141A #871F29 #B92A38 #D64B58

Accessibility & contrast

On white

9.30
#871F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F29
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F29#FFFFFF#000000##FFFFFF
##871F291.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3929
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f29;
/* rgb */ color: rgb(135, 31, 41);
/* oklch */ color: oklch(41.5% 0.139 20.8);
Tailwind
colors: {
  custom: {
    50: '#b16462',
    500: '#871f29',
    950: '#000000',
  },
}
SCSS
$custom: #871f29;
$custom-light: #b16462;
$custom-dark: #000000;
JSON
{
  "hex": "#871f29",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 354.231,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.13853,
    "h": 20.8
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#871F29
secondary
#4AB8AE
accent
#E6D642
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871F29

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

Preview Lab → · Contrast checker → · Palette generator →

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