#871C21#871C21

#871C21 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 24.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#871C21
RGBrgb(135, 28, 33)
HSLhsl(357, 66%, 32%)
HSVhsv(357, 79%, 53%)
CMYKcmyk(0%, 79.3%, 75.6%, 47.1%)
CIE-LABlab(29.65, 44.55, 25.48)
CIE-LCHlch(29.65, 51.32, 29.76°)
OKLaboklab(41.08% 0.1297 0.0576)
OKLCHoklch(41.08% 0.142 24)
XYZxyz(10.6827, 6.0929, 2.0521)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C21 #1C8782
analogous
#871C57 #871C21 #874D1C
triadic
#871C21 #21871C #1C2187
tetradic
#871C21 #57871C #1C8782 #4D1C87
square
#871C21 #57871C #1C8782 #4D1C87
split-complementary
#871C21 #1C874D #1C5787
monochromatic
#220708 #541115 #871C21 #BA272D #D8454C

Accessibility & contrast

On white

9.47
#871C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C21
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C21#FFFFFF#000000##FFFFFF
##871C211.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3720
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c21;
/* rgb */ color: rgb(135, 28, 33);
/* oklch */ color: oklch(41.1% 0.142 24.0);
Tailwind
colors: {
  custom: {
    50: '#b2635c',
    500: '#871c21',
    950: '#000000',
  },
}
SCSS
$custom: #871c21;
$custom-light: #b2635c;
$custom-dark: #000000;
JSON
{
  "hex": "#871c21",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 33
  },
  "hsl": {
    "h": 357.196,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.14188,
    "h": 24
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#871C21
secondary
#45BAB4
accent
#E9E13F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871C21

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

Preview Lab → · Contrast checker → · Palette generator →

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