#871C22#871C22

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

Color values

HEX#871C22
RGBrgb(135, 28, 34)
HSLhsl(357, 66%, 32%)
HSVhsv(357, 79%, 53%)
CMYKcmyk(0%, 79.3%, 74.8%, 47.1%)
CIE-LABlab(29.66, 44.59, 24.86)
CIE-LCHlch(29.66, 51.05, 29.14°)
OKLaboklab(41.09% 0.13 0.0565)
OKLCHoklch(41.09% 0.142 23.5)
XYZxyz(10.6969, 6.0986, 2.1270)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C22 #1C8781
analogous
#871C57 #871C22 #874C1C
triadic
#871C22 #22871C #1C2287
tetradic
#871C22 #57871C #1C8781 #4C1C87
square
#871C22 #57871C #1C8781 #4C1C87
split-complementary
#871C22 #1C874C #1C5787
monochromatic
#220708 #541115 #871C22 #BA272F #D8454D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C22#FFFFFF#000000##FFFFFF
##871C221.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)
#3C3721
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c22;
/* rgb */ color: rgb(135, 28, 34);
/* oklch */ color: oklch(41.1% 0.142 23.5);
Tailwind
colors: {
  custom: {
    50: '#b2635d',
    500: '#871c22',
    950: '#000000',
  },
}
SCSS
$custom: #871c22;
$custom-light: #b2635d;
$custom-dark: #000000;
JSON
{
  "hex": "#871c22",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 34
  },
  "hsl": {
    "h": 356.636,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.14178,
    "h": 23.5
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#871C22
secondary
#45BAB3
accent
#E9DF3F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871C22

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

Preview Lab → · Contrast checker → · Palette generator →

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