#871A29#871A29

#871A29 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 19.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#871A29
RGBrgb(135, 26, 41)
HSLhsl(352, 68%, 32%)
HSVhsv(352, 81%, 53%)
CMYKcmyk(0%, 80.7%, 69.6%, 47.1%)
CIE-LABlab(29.54, 45.59, 20.21)
CIE-LCHlch(29.54, 49.87, 23.90°)
OKLaboklab(41.04% 0.1349 0.0475)
OKLCHoklch(41.04% 0.143 19.4)
XYZxyz(10.7625, 6.0514, 2.6987)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A29 #1A8778
analogous
#871A60 #871A29 #87421A
triadic
#871A29 #29871A #1A2987
tetradic
#871A29 #60871A #1A8778 #421A87
square
#871A29 #60871A #1A8778 #421A87
split-complementary
#871A29 #1A8742 #1A6087
monochromatic
#20060A #541019 #871A29 #BA2439 #DA4156

Accessibility & contrast

On white

9.50
#871A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A29
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A29#FFFFFF#000000##FFFFFF
##871A291.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.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: #871a29;
/* rgb */ color: rgb(135, 26, 41);
/* oklch */ color: oklch(41.0% 0.143 19.4);
Tailwind
colors: {
  custom: {
    50: '#b16262',
    500: '#871a29',
    950: '#000000',
  },
}
SCSS
$custom: #871a29;
$custom-light: #b16262;
$custom-dark: #000000;
JSON
{
  "hex": "#871a29",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 41
  },
  "hsl": {
    "h": 351.743,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.14298,
    "h": 19.4
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#871A29
secondary
#42BAAA
accent
#EBD33D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871A29

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

Preview Lab → · Contrast checker → · Palette generator →

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