#871C23#871C23

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

Color values

HEX#871C23
RGBrgb(135, 28, 35)
HSLhsl(356, 66%, 32%)
HSVhsv(356, 79%, 53%)
CMYKcmyk(0%, 79.3%, 74.1%, 47.1%)
CIE-LABlab(29.67, 44.64, 24.24)
CIE-LCHlch(29.67, 50.80, 28.50°)
OKLaboklab(41.11% 0.1304 0.0554)
OKLCHoklch(41.11% 0.142 23)
XYZxyz(10.7115, 6.1044, 2.2040)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C23 #1C8780
analogous
#871C59 #871C23 #874B1C
triadic
#871C23 #23871C #1C2387
tetradic
#871C23 #59871C #1C8780 #4B1C87
square
#871C23 #59871C #1C8780 #4B1C87
split-complementary
#871C23 #1C874B #1C5987
monochromatic
#220709 #541116 #871C23 #BA2730 #D8454F

Accessibility & contrast

On white

9.46
#871C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C23
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C23#FFFFFF#000000##FFFFFF
##871C231.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3722
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c23;
/* rgb */ color: rgb(135, 28, 35);
/* oklch */ color: oklch(41.1% 0.142 23.0);
Tailwind
colors: {
  custom: {
    50: '#b2635e',
    500: '#871c23',
    950: '#000000',
  },
}
SCSS
$custom: #871c23;
$custom-light: #b2635e;
$custom-dark: #000000;
JSON
{
  "hex": "#871c23",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 356.075,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.14168,
    "h": 23
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#871C23
secondary
#45BAB2
accent
#E9DE3F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871C23

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

Preview Lab → · Contrast checker → · Palette generator →

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