#871C31#871C31

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

Color values

HEX#871C31
RGBrgb(135, 28, 49)
HSLhsl(348, 66%, 32%)
HSVhsv(348, 79%, 53%)
CMYKcmyk(0%, 79.3%, 63.7%, 47.1%)
CIE-LABlab(29.92, 45.44, 15.43)
CIE-LCHlch(29.92, 47.99, 18.76°)
OKLaboklab(41.37% 0.1361 0.0375)
OKLCHoklch(41.37% 0.141 15.4)
XYZxyz(10.9625, 6.2048, 3.5255)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C31 #1C8772
analogous
#871C67 #871C31 #873C1C
triadic
#871C31 #31871C #1C3187
tetradic
#871C31 #67871C #1C8772 #3C1C87
square
#871C31 #67871C #1C8772 #3C1C87
split-complementary
#871C31 #1C873C #1C6787
monochromatic
#22070C #54111F #871C31 #BA2743 #D84562

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C31#FFFFFF#000000##FFFFFF
##871C311.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)
#3A3831
Deuteranopia (green-blind)
#564E2E
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c31;
/* rgb */ color: rgb(135, 28, 49);
/* oklch */ color: oklch(41.4% 0.141 15.4);
Tailwind
colors: {
  custom: {
    50: '#b16368',
    500: '#871c31',
    950: '#000000',
  },
}
SCSS
$custom: #871c31;
$custom-light: #b16368;
$custom-dark: #000000;
JSON
{
  "hex": "#871c31",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 49
  },
  "hsl": {
    "h": 348.224,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.1412,
    "h": 15.4
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#871C31
secondary
#45BAA3
accent
#E9C73F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871C31

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

Preview Lab → · Contrast checker → · Palette generator →

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