#871929#871929

#871929 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.144 H 19.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#871929
RGBrgb(135, 25, 41)
HSLhsl(351, 69%, 31%)
HSVhsv(351, 81%, 53%)
CMYKcmyk(0%, 81.5%, 69.6%, 47.1%)
CIE-LABlab(29.43, 45.90, 20.07)
CIE-LCHlch(29.43, 50.10, 23.62°)
OKLaboklab(40.96% 0.1359 0.0472)
OKLCHoklch(40.96% 0.144 19.1)
XYZxyz(10.7407, 6.0079, 2.6915)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871929 #198777
analogous
#871960 #871929 #874019
triadic
#871929 #298719 #192987
tetradic
#871929 #608719 #198777 #401987
square
#871929 #608719 #198777 #401987
split-complementary
#871929 #198740 #196087
monochromatic
#20060A #530F19 #871929 #BB2339 #DB3F56

Accessibility & contrast

On white

9.54
#871929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871929
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871929#FFFFFF#000000##FFFFFF
##8719291.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3729
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871929;
/* rgb */ color: rgb(135, 25, 41);
/* oklch */ color: oklch(41.0% 0.144 19.1);
Tailwind
colors: {
  custom: {
    50: '#b16262',
    500: '#871929',
    950: '#000000',
  },
}
SCSS
$custom: #871929;
$custom-light: #b16262;
$custom-dark: #000000;
JSON
{
  "hex": "#871929",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 41
  },
  "hsl": {
    "h": 351.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.14382,
    "h": 19.1
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#871929
secondary
#41BAA9
accent
#ECD23C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871929

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

Preview Lab → · Contrast checker → · Palette generator →

#871929 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva