#871A32#871A32

#871A32 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.143 H 14.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#871A32
RGBrgb(135, 26, 50)
HSLhsl(347, 68%, 32%)
HSVhsv(347, 81%, 53%)
CMYKcmyk(0%, 80.7%, 63%, 47.1%)
CIE-LABlab(29.72, 46.15, 14.50)
CIE-LCHlch(29.72, 48.37, 17.44°)
OKLaboklab(41.23% 0.1386 0.0354)
OKLCHoklch(41.23% 0.143 14.3)
XYZxyz(10.9379, 6.1216, 3.6226)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A32 #1A876F
analogous
#871A69 #871A32 #87391A
triadic
#871A32 #32871A #1A3287
tetradic
#871A32 #69871A #1A876F #391A87
square
#871A32 #69871A #1A876F #391A87
split-complementary
#871A32 #1A8739 #1A6987
monochromatic
#20060C #54101F #871A32 #BA2445 #DA4163

Accessibility & contrast

On white

9.44
#871A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A32
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A32#FFFFFF#000000##FFFFFF
##871A321.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393832
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#940024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a32;
/* rgb */ color: rgb(135, 26, 50);
/* oklch */ color: oklch(41.2% 0.143 14.3);
Tailwind
colors: {
  custom: {
    50: '#b16269',
    500: '#871a32',
    950: '#000000',
  },
}
SCSS
$custom: #871a32;
$custom-light: #b16269;
$custom-dark: #000000;
JSON
{
  "hex": "#871a32",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 346.789,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.14306,
    "h": 14.3
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#871A32
secondary
#42BAA0
accent
#EBC43D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871A32

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

Preview Lab → · Contrast checker → · Palette generator →

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