#871C2B#871C2B

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

Color values

HEX#871C2B
RGBrgb(135, 28, 43)
HSLhsl(352, 66%, 32%)
HSVhsv(352, 79%, 53%)
CMYKcmyk(0%, 79.3%, 68.1%, 47.1%)
CIE-LABlab(29.81, 45.06, 19.23)
CIE-LCHlch(29.81, 49.00, 23.11°)
OKLaboklab(41.25% 0.1336 0.0456)
OKLCHoklch(41.25% 0.141 18.8)
XYZxyz(10.8442, 6.1575, 2.9025)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C2B #1C8778
analogous
#871C61 #871C2B #87431C
triadic
#871C2B #2B871C #1C2B87
tetradic
#871C2B #61871C #1C8778 #431C87
square
#871C2B #61871C #1C8778 #431C87
split-complementary
#871C2B #1C8743 #1C6187
monochromatic
#22070B #54111B #871C2B #BA273B #D8455A

Accessibility & contrast

On white

9.41
#871C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C2B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C2B#FFFFFF#000000##FFFFFF
##871C2B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382B
Deuteranopia (green-blind)
#564E28
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c2b;
/* rgb */ color: rgb(135, 28, 43);
/* oklch */ color: oklch(41.2% 0.141 18.8);
Tailwind
colors: {
  custom: {
    50: '#b16364',
    500: '#871c2b',
    950: '#000000',
  },
}
SCSS
$custom: #871c2b;
$custom-light: #b16364;
$custom-dark: #000000;
JSON
{
  "hex": "#871c2b",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 351.589,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.14118,
    "h": 18.8
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#871C2B
secondary
#45BAAA
accent
#E9D13F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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