#871D36#871D36

#871D36 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.141 H 12.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#871D36
RGBrgb(135, 29, 54)
HSLhsl(346, 65%, 32%)
HSVhsv(346, 79%, 53%)
CMYKcmyk(0%, 78.5%, 60%, 47.1%)
CIE-LABlab(30.15, 45.46, 12.42)
CIE-LCHlch(30.15, 47.12, 15.29°)
OKLaboklab(41.58% 0.1371 0.0308)
OKLCHoklch(41.58% 0.141 12.7)
XYZxyz(11.0980, 6.2976, 4.1205)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D36 #1D876E
analogous
#871D6B #871D36 #87391D
triadic
#871D36 #36871D #1D3687
tetradic
#871D36 #6B871D #1D876E #391D87
square
#871D36 #6B871D #1D876E #391D87
split-complementary
#871D36 #1D8739 #1D6B87
monochromatic
#22070E #551222 #871D36 #B9284A #D74769

Accessibility & contrast

On white

9.30
#871D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D36
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D36#FFFFFF#000000##FFFFFF
##871D361.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3936
Deuteranopia (green-blind)
#554F33
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d36;
/* rgb */ color: rgb(135, 29, 54);
/* oklch */ color: oklch(41.6% 0.141 12.7);
Tailwind
colors: {
  custom: {
    50: '#b0646c',
    500: '#871d36',
    950: '#000000',
  },
}
SCSS
$custom: #871d36;
$custom-light: #b0646c;
$custom-dark: #000000;
JSON
{
  "hex": "#871d36",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 54
  },
  "hsl": {
    "h": 345.849,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41575,
    "c": 0.14055,
    "h": 12.7
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#871D36
secondary
#46B99E
accent
#E8C040
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871D36

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

Preview Lab → · Contrast checker → · Palette generator →

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