#871C1D#871C1D

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

Color values

HEX#871C1D
RGBrgb(135, 28, 29)
HSLhsl(359, 66%, 32%)
HSVhsv(359, 79%, 53%)
CMYKcmyk(0%, 79.3%, 78.5%, 47.1%)
CIE-LABlab(29.59, 44.38, 27.90)
CIE-LCHlch(29.59, 52.42, 32.16°)
OKLaboklab(41.02% 0.1282 0.0619)
OKLCHoklch(41.02% 0.142 25.8)
XYZxyz(10.6300, 6.0718, 1.7744)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C1D #1C8786
analogous
#871C53 #871C1D #87511C
triadic
#871C1D #1D871C #1C1D87
tetradic
#871C1D #53871C #1C8786 #511C87
square
#871C1D #53871C #1C8786 #511C87
split-complementary
#871C1D #1C8751 #1C5387
monochromatic
#220707 #541112 #871C1D #BA2728 #D84546

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C1D#FFFFFF#000000##FFFFFF
##871C1D1.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)
#3D371C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c1d;
/* rgb */ color: rgb(135, 28, 29);
/* oklch */ color: oklch(41.0% 0.142 25.8);
Tailwind
colors: {
  custom: {
    50: '#b26259',
    500: '#871c1d',
    950: '#000000',
  },
}
SCSS
$custom: #871c1d;
$custom-light: #b26259;
$custom-dark: #000000;
JSON
{
  "hex": "#871c1d",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 29
  },
  "hsl": {
    "h": 359.439,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.14234,
    "h": 25.8
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#871C1D
secondary
#45BAB9
accent
#E9E73F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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