#871F36#871F36

#871F36 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 13.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#871F36
RGBrgb(135, 31, 54)
HSLhsl(347, 63%, 33%)
HSVhsv(347, 77%, 53%)
CMYKcmyk(0%, 77%, 60%, 47.1%)
CIE-LABlab(30.40, 44.77, 12.76)
CIE-LCHlch(30.40, 46.55, 15.90°)
OKLaboklab(41.76% 0.1349 0.0316)
OKLCHoklch(41.76% 0.139 13.2)
XYZxyz(11.1486, 6.3988, 4.1374)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F36 #1F8770
analogous
#871F6A #871F36 #873C1F
triadic
#871F36 #36871F #1F3687
tetradic
#871F36 #6A871F #1F8770 #3C1F87
square
#871F36 #6A871F #1F8770 #3C1F87
split-complementary
#871F36 #1F873C #1F6A87
monochromatic
#23080E #551422 #871F36 #B92A4A #D64B69

Accessibility & contrast

On white

9.21
#871F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F36
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F36#FFFFFF#000000##FFFFFF
##871F361.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A36
Deuteranopia (green-blind)
#564F33
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871f36;
/* rgb */ color: rgb(135, 31, 54);
/* oklch */ color: oklch(41.8% 0.139 13.2);
Tailwind
colors: {
  custom: {
    50: '#b0646c',
    500: '#871f36',
    950: '#000000',
  },
}
SCSS
$custom: #871f36;
$custom-light: #b0646c;
$custom-dark: #000000;
JSON
{
  "hex": "#871f36",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 346.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.13857,
    "h": 13.2
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#871F36
secondary
#4AB8A0
accent
#E6C242
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871F36

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

Preview Lab → · Contrast checker → · Palette generator →

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