#871C2E#871C2E

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

Color values

HEX#871C2E
RGBrgb(135, 28, 46)
HSLhsl(350, 66%, 32%)
HSVhsv(350, 79%, 53%)
CMYKcmyk(0%, 79.3%, 65.9%, 47.1%)
CIE-LABlab(29.86, 45.25, 17.33)
CIE-LCHlch(29.86, 48.45, 20.96°)
OKLaboklab(41.31% 0.1349 0.0416)
OKLCHoklch(41.31% 0.141 17.1)
XYZxyz(10.9012, 6.1803, 3.2031)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C2E #1C8775
analogous
#871C63 #871C2E #87401C
triadic
#871C2E #2E871C #1C2E87
tetradic
#871C2E #63871C #1C8775 #401C87
square
#871C2E #63871C #1C8775 #401C87
split-complementary
#871C2E #1C8740 #1C6387
monochromatic
#22070B #54111D #871C2E #BA273F #D8455E

Accessibility & contrast

On white

9.39
#871C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C2E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C2E#FFFFFF#000000##FFFFFF
##871C2E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382E
Deuteranopia (green-blind)
#564E2B
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c2e;
/* rgb */ color: rgb(135, 28, 46);
/* oklch */ color: oklch(41.3% 0.141 17.1);
Tailwind
colors: {
  custom: {
    50: '#b16366',
    500: '#871c2e',
    950: '#000000',
  },
}
SCSS
$custom: #871c2e;
$custom-light: #b16366;
$custom-dark: #000000;
JSON
{
  "hex": "#871c2e",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 349.907,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.14114,
    "h": 17.1
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#871C2E
secondary
#45BAA6
accent
#E9CC3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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