#871F32#871F32

#871F32 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.138 H 15.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#871F32
RGBrgb(135, 31, 50)
HSLhsl(349, 63%, 33%)
HSVhsv(349, 77%, 53%)
CMYKcmyk(0%, 77%, 63%, 47.1%)
CIE-LABlab(30.31, 44.48, 15.28)
CIE-LCHlch(30.31, 47.03, 18.96°)
OKLaboklab(41.66% 0.1332 0.0373)
OKLCHoklch(41.66% 0.138 15.6)
XYZxyz(11.0585, 6.3628, 3.6628)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F32 #1F8774
analogous
#871F66 #871F32 #87401F
triadic
#871F32 #32871F #1F3287
tetradic
#871F32 #66871F #1F8774 #401F87
square
#871F32 #66871F #1F8774 #401F87
split-complementary
#871F32 #1F8740 #1F6687
monochromatic
#23080D #551420 #871F32 #B92A44 #D64B64

Accessibility & contrast

On white

9.24
#871F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F32
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F32#FFFFFF#000000##FFFFFF
##871F321.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3A32
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f32;
/* rgb */ color: rgb(135, 31, 50);
/* oklch */ color: oklch(41.7% 0.138 15.6);
Tailwind
colors: {
  custom: {
    50: '#b06469',
    500: '#871f32',
    950: '#000000',
  },
}
SCSS
$custom: #871f32;
$custom-light: #b06469;
$custom-dark: #000000;
JSON
{
  "hex": "#871f32",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 349.038,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.13835,
    "h": 15.6
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#871F32
secondary
#4AB8A4
accent
#E6C842
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871F32

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

Preview Lab → · Contrast checker → · Palette generator →

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