#871B36#871B36

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

Color values

HEX#871B36
RGBrgb(135, 27, 54)
HSLhsl(345, 67%, 32%)
HSVhsv(345, 80%, 53%)
CMYKcmyk(0%, 80%, 60%, 47.1%)
CIE-LABlab(29.92, 46.11, 12.11)
CIE-LCHlch(29.92, 47.68, 14.71°)
OKLaboklab(41.4% 0.1393 0.0301)
OKLCHoklch(41.4% 0.142 12.2)
XYZxyz(11.0506, 6.2027, 4.1047)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B36 #1B876C
analogous
#871B6C #871B36 #87361B
triadic
#871B36 #36871B #1B3687
tetradic
#871B36 #6C871B #1B876C #361B87
square
#871B36 #6C871B #1B876C #361B87
split-complementary
#871B36 #1B8736 #1B6C87
monochromatic
#21070D #541122 #871B36 #BA254A #D94369

Accessibility & contrast

On white

9.37
#871B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B36
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B36#FFFFFF#000000##FFFFFF
##871B361.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393836
Deuteranopia (green-blind)
#554E33
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b36;
/* rgb */ color: rgb(135, 27, 54);
/* oklch */ color: oklch(41.4% 0.142 12.2);
Tailwind
colors: {
  custom: {
    50: '#b0636c',
    500: '#871b36',
    950: '#000000',
  },
}
SCSS
$custom: #871b36;
$custom-light: #b0636c;
$custom-dark: #000000;
JSON
{
  "hex": "#871b36",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 345,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41402,
    "c": 0.14246,
    "h": 12.2
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#871B36
secondary
#44BA9D
accent
#EABF3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871B36

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

Preview Lab → · Contrast checker → · Palette generator →

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