#871E31#871E31

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

Color values

HEX#871E31
RGBrgb(135, 30, 49)
HSLhsl(349, 64%, 32%)
HSVhsv(349, 78%, 53%)
CMYKcmyk(0%, 77.8%, 63.7%, 47.1%)
CIE-LABlab(30.16, 44.76, 15.75)
CIE-LCHlch(30.16, 47.45, 19.38°)
OKLaboklab(41.55% 0.134 0.0383)
OKLCHoklch(41.55% 0.139 15.9)
XYZxyz(11.0115, 6.3028, 3.5419)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E31 #1E8774
analogous
#871E65 #871E31 #87401E
triadic
#871E31 #31871E #1E3187
tetradic
#871E31 #65871E #1E8774 #401E87
square
#871E31 #65871E #1E8774 #401E87
split-complementary
#871E31 #1E8740 #1E6587
monochromatic
#23080D #55131F #871E31 #B92943 #D74963

Accessibility & contrast

On white

9.29
#871E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E31
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E31#FFFFFF#000000##FFFFFF
##871E311.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3931
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e31;
/* rgb */ color: rgb(135, 30, 49);
/* oklch */ color: oklch(41.5% 0.139 15.9);
Tailwind
colors: {
  custom: {
    50: '#b06468',
    500: '#871e31',
    950: '#000000',
  },
}
SCSS
$custom: #871e31;
$custom-light: #b06468;
$custom-dark: #000000;
JSON
{
  "hex": "#871e31",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 349.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41549,
    "c": 0.1393,
    "h": 15.9
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#871E31
secondary
#48B9A4
accent
#E7C941
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871E31

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

Preview Lab → · Contrast checker → · Palette generator →

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