#871B32#871B32

#871B32 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.142 H 14.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#871B32
RGBrgb(135, 27, 50)
HSLhsl(347, 67%, 32%)
HSVhsv(347, 80%, 53%)
CMYKcmyk(0%, 80%, 63%, 47.1%)
CIE-LABlab(29.83, 45.83, 14.65)
CIE-LCHlch(29.83, 48.11, 17.72°)
OKLaboklab(41.31% 0.1376 0.0358)
OKLCHoklch(41.31% 0.142 14.6)
XYZxyz(10.9605, 6.1667, 3.6302)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B32 #1B8770
analogous
#871B68 #871B32 #873A1B
triadic
#871B32 #32871B #1B3287
tetradic
#871B32 #68871B #1B8770 #3A1B87
square
#871B32 #68871B #1B8770 #3A1B87
split-complementary
#871B32 #1B873A #1B6887
monochromatic
#21070C #54111F #871B32 #BA2545 #D94363

Accessibility & contrast

On white

9.40
#871B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B32
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B32#FFFFFF#000000##FFFFFF
##871B321.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3832
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b32;
/* rgb */ color: rgb(135, 27, 50);
/* oklch */ color: oklch(41.3% 0.142 14.6);
Tailwind
colors: {
  custom: {
    50: '#b06369',
    500: '#871b32',
    950: '#000000',
  },
}
SCSS
$custom: #871b32;
$custom-light: #b06369;
$custom-dark: #000000;
JSON
{
  "hex": "#871b32",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 50
  },
  "hsl": {
    "h": 347.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.14215,
    "h": 14.6
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#871B32
secondary
#44BAA1
accent
#EAC53E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871B32

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

Preview Lab → · Contrast checker → · Palette generator →

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