#871C2C#871C2C

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

Color values

HEX#871C2C
RGBrgb(135, 28, 44)
HSLhsl(351, 66%, 32%)
HSVhsv(351, 79%, 53%)
CMYKcmyk(0%, 79.3%, 67.4%, 47.1%)
CIE-LABlab(29.82, 45.12, 18.60)
CIE-LCHlch(29.82, 48.81, 22.40°)
OKLaboklab(41.27% 0.134 0.0443)
OKLCHoklch(41.27% 0.141 18.3)
XYZxyz(10.8627, 6.1649, 3.0004)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C2C #1C8777
analogous
#871C62 #871C2C #87421C
triadic
#871C2C #2C871C #1C2C87
tetradic
#871C2C #62871C #1C8777 #421C87
square
#871C2C #62871C #1C8777 #421C87
split-complementary
#871C2C #1C8742 #1C6287
monochromatic
#22070B #54111B #871C2C #BA273D #D8455B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C2C#FFFFFF#000000##FFFFFF
##871C2C1.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)
#3B382C
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c2c;
/* rgb */ color: rgb(135, 28, 44);
/* oklch */ color: oklch(41.3% 0.141 18.3);
Tailwind
colors: {
  custom: {
    50: '#b16364',
    500: '#871c2c',
    950: '#000000',
  },
}
SCSS
$custom: #871c2c;
$custom-light: #b16364;
$custom-dark: #000000;
JSON
{
  "hex": "#871c2c",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 351.028,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41266,
    "c": 0.14116,
    "h": 18.3
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#871C2C
secondary
#45BAA8
accent
#E9CF3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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