#871C1C#871C1C

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

Color values

HEX#871C1C
RGBrgb(135, 28, 28)
HSLhsl(0, 66%, 32%)
HSVhsv(0, 79%, 53%)
CMYKcmyk(0%, 79.3%, 79.3%, 47.1%)
CIE-LABlab(29.58, 44.34, 28.50)
CIE-LCHlch(29.58, 52.71, 32.73°)
OKLaboklab(41.01% 0.1278 0.0629)
OKLCHoklch(41.01% 0.142 26.2)
XYZxyz(10.6178, 6.0669, 1.7103)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C1C #1C8787
analogous
#871C52 #871C1C #87521C
triadic
#871C1C #1C871C #1C1C87
tetradic
#871C1C #52871C #1C8787 #521C87
square
#871C1C #52871C #1C8787 #521C87
split-complementary
#871C1C #1C8752 #1C5287
monochromatic
#220707 #541111 #871C1C #BA2727 #D84545

Accessibility & contrast

On white

9.49
#871C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871C1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C1C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C1C#FFFFFF#000000##FFFFFF
##871C1C1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371B
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c1c;
/* rgb */ color: rgb(135, 28, 28);
/* oklch */ color: oklch(41.0% 0.142 26.2);
Tailwind
colors: {
  custom: {
    50: '#b26258',
    500: '#871c1c',
    950: '#000000',
  },
}
SCSS
$custom: #871c1c;
$custom-light: #b26258;
$custom-dark: #000000;
JSON
{
  "hex": "#871c1c",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 28
  },
  "hsl": {
    "h": 0,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.14247,
    "h": 26.2
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#871C1C
secondary
#45BABA
accent
#E9E93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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