#871C28#871C28

#871C28 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.141 H 20.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#871C28
RGBrgb(135, 28, 40)
HSLhsl(353, 66%, 32%)
HSVhsv(353, 79%, 53%)
CMYKcmyk(0%, 79.3%, 70.4%, 47.1%)
CIE-LABlab(29.75, 44.90, 21.12)
CIE-LCHlch(29.75, 49.62, 25.20°)
OKLaboklab(41.19% 0.1324 0.0494)
OKLCHoklch(41.19% 0.141 20.4)
XYZxyz(10.7911, 6.1363, 2.6233)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C28 #1C877B
analogous
#871C5E #871C28 #87461C
triadic
#871C28 #28871C #1C2887
tetradic
#871C28 #5E871C #1C877B #461C87
square
#871C28 #5E871C #1C877B #461C87
split-complementary
#871C28 #1C8746 #1C5E87
monochromatic
#22070A #541119 #871C28 #BA2737 #D84556

Accessibility & contrast

On white

9.43
#871C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C28
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C28#FFFFFF#000000##FFFFFF
##871C281.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3828
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c28;
/* rgb */ color: rgb(135, 28, 40);
/* oklch */ color: oklch(41.2% 0.141 20.4);
Tailwind
colors: {
  custom: {
    50: '#b16361',
    500: '#871c28',
    950: '#000000',
  },
}
SCSS
$custom: #871c28;
$custom-light: #b16361;
$custom-dark: #000000;
JSON
{
  "hex": "#871c28",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 353.271,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.14131,
    "h": 20.4
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#871C28
secondary
#45BAAD
accent
#E9D63F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871C28

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

Preview Lab → · Contrast checker → · Palette generator →

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