#871F39#871F39

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

Color values

HEX#871F39
RGBrgb(135, 31, 57)
HSLhsl(345, 63%, 33%)
HSVhsv(345, 77%, 53%)
CMYKcmyk(0%, 77%, 57.8%, 47.1%)
CIE-LABlab(30.47, 45.00, 10.87)
CIE-LCHlch(30.47, 46.29, 13.58°)
OKLaboklab(41.83% 0.1362 0.0273)
OKLCHoklch(41.83% 0.139 11.3)
XYZxyz(11.2213, 6.4279, 4.5199)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F39 #1F876D
analogous
#871F6D #871F39 #87391F
triadic
#871F39 #39871F #1F3987
tetradic
#871F39 #6D871F #1F876D #391F87
square
#871F39 #6D871F #1F876D #391F87
split-complementary
#871F39 #1F8739 #1F6D87
monochromatic
#23080F #551424 #871F39 #B92A4E #D64B6D

Accessibility & contrast

On white

9.19
#871F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F39
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F39#FFFFFF#000000##FFFFFF
##871F391.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A39
Deuteranopia (green-blind)
#554F36
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871f39;
/* rgb */ color: rgb(135, 31, 57);
/* oklch */ color: oklch(41.8% 0.139 11.3);
Tailwind
colors: {
  custom: {
    50: '#b0646f',
    500: '#871f39',
    950: '#000000',
  },
}
SCSS
$custom: #871f39;
$custom-light: #b0646f;
$custom-dark: #000000;
JSON
{
  "hex": "#871f39",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 345,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.13886,
    "h": 11.3
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#871F39
secondary
#4AB89D
accent
#E6BD42
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871F39

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

Preview Lab → · Contrast checker → · Palette generator →

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