#871C20#871C20

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

Color values

HEX#871C20
RGBrgb(135, 28, 32)
HSLhsl(358, 66%, 32%)
HSVhsv(358, 79%, 53%)
CMYKcmyk(0%, 79.3%, 76.3%, 47.1%)
CIE-LABlab(29.63, 44.50, 26.09)
CIE-LCHlch(29.63, 51.59, 30.38°)
OKLaboklab(41.06% 0.1293 0.0587)
OKLCHoklch(41.06% 0.142 24.4)
XYZxyz(10.6689, 6.0874, 1.9794)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C20 #1C8783
analogous
#871C56 #871C20 #874E1C
triadic
#871C20 #20871C #1C2087
tetradic
#871C20 #56871C #1C8783 #4E1C87
square
#871C20 #56871C #1C8783 #4E1C87
split-complementary
#871C20 #1C874E #1C5687
monochromatic
#220708 #541114 #871C20 #BA272C #D8454A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C20#FFFFFF#000000##FFFFFF
##871C201.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)
#3D371F
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c20;
/* rgb */ color: rgb(135, 28, 32);
/* oklch */ color: oklch(41.1% 0.142 24.4);
Tailwind
colors: {
  custom: {
    50: '#b2635b',
    500: '#871c20',
    950: '#000000',
  },
}
SCSS
$custom: #871c20;
$custom-light: #b2635b;
$custom-dark: #000000;
JSON
{
  "hex": "#871c20",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 32
  },
  "hsl": {
    "h": 357.757,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.14199,
    "h": 24.4
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#871C20
secondary
#45BAB6
accent
#E9E23F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871C20

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

Preview Lab → · Contrast checker → · Palette generator →

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