#871C27#871C27

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

Color values

HEX#871C27
RGBrgb(135, 28, 39)
HSLhsl(354, 66%, 32%)
HSVhsv(354, 79%, 53%)
CMYKcmyk(0%, 79.3%, 71.1%, 47.1%)
CIE-LABlab(29.74, 44.84, 21.75)
CIE-LCHlch(29.74, 49.84, 25.87°)
OKLaboklab(41.17% 0.132 0.0506)
OKLCHoklch(41.17% 0.141 21)
XYZxyz(10.7743, 6.1295, 2.5349)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C27 #1C877C
analogous
#871C5D #871C27 #87471C
triadic
#871C27 #27871C #1C2787
tetradic
#871C27 #5D871C #1C877C #471C87
square
#871C27 #5D871C #1C877C #471C87
split-complementary
#871C27 #1C8747 #1C5D87
monochromatic
#22070A #541118 #871C27 #BA2736 #D84554

Accessibility & contrast

On white

9.44
#871C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C27
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C27#FFFFFF#000000##FFFFFF
##871C271.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#574E24
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c27;
/* rgb */ color: rgb(135, 28, 39);
/* oklch */ color: oklch(41.2% 0.141 21.0);
Tailwind
colors: {
  custom: {
    50: '#b16361',
    500: '#871c27',
    950: '#000000',
  },
}
SCSS
$custom: #871c27;
$custom-light: #b16361;
$custom-dark: #000000;
JSON
{
  "hex": "#871c27",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 39
  },
  "hsl": {
    "h": 353.832,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.14137,
    "h": 21
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#871C27
secondary
#45BAAE
accent
#E9D73F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871C27

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

Preview Lab → · Contrast checker → · Palette generator →

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