#871C2D#871C2D

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

Color values

HEX#871C2D
RGBrgb(135, 28, 45)
HSLhsl(350, 66%, 32%)
HSVhsv(350, 79%, 53%)
CMYKcmyk(0%, 79.3%, 66.7%, 47.1%)
CIE-LABlab(29.84, 45.18, 17.97)
CIE-LCHlch(29.84, 48.63, 21.68°)
OKLaboklab(41.29% 0.1344 0.0429)
OKLCHoklch(41.29% 0.141 17.7)
XYZxyz(10.8818, 6.1725, 3.1005)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C2D #1C8776
analogous
#871C63 #871C2D #87401C
triadic
#871C2D #2D871C #1C2D87
tetradic
#871C2D #63871C #1C8776 #401C87
square
#871C2D #63871C #1C8776 #401C87
split-complementary
#871C2D #1C8740 #1C6387
monochromatic
#22070B #54111C #871C2D #BA273E #D8455C

Accessibility & contrast

On white

9.40
#871C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C2D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C2D#FFFFFF#000000##FFFFFF
##871C2D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c2d;
/* rgb */ color: rgb(135, 28, 45);
/* oklch */ color: oklch(41.3% 0.141 17.7);
Tailwind
colors: {
  custom: {
    50: '#b16365',
    500: '#871c2d',
    950: '#000000',
  },
}
SCSS
$custom: #871c2d;
$custom-light: #b16365;
$custom-dark: #000000;
JSON
{
  "hex": "#871c2d",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 350.467,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.14114,
    "h": 17.7
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#871C2D
secondary
#45BAA7
accent
#E9CE3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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