#871C1E#871C1E

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

Color values

HEX#871C1E
RGBrgb(135, 28, 30)
HSLhsl(359, 66%, 32%)
HSVhsv(359, 79%, 53%)
CMYKcmyk(0%, 79.3%, 77.8%, 47.1%)
CIE-LABlab(29.61, 44.42, 27.30)
CIE-LCHlch(29.61, 52.14, 31.58°)
OKLaboklab(41.03% 0.1286 0.0608)
OKLCHoklch(41.03% 0.142 25.3)
XYZxyz(10.6425, 6.0768, 1.8406)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C1E #1C8785
analogous
#871C53 #871C1E #87501C
triadic
#871C1E #1E871C #1C1E87
tetradic
#871C1E #53871C #1C8785 #501C87
square
#871C1E #53871C #1C8785 #501C87
split-complementary
#871C1E #1C8750 #1C5387
monochromatic
#220707 #541113 #871C1E #BA2729 #D84548

Accessibility & contrast

On white

9.48
#871C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C1E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C1E#FFFFFF#000000##FFFFFF
##871C1E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c1e;
/* rgb */ color: rgb(135, 28, 30);
/* oklch */ color: oklch(41.0% 0.142 25.3);
Tailwind
colors: {
  custom: {
    50: '#b2635a',
    500: '#871c1e',
    950: '#000000',
  },
}
SCSS
$custom: #871c1e;
$custom-light: #b2635a;
$custom-dark: #000000;
JSON
{
  "hex": "#871c1e",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 30
  },
  "hsl": {
    "h": 358.879,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41033,
    "c": 0.14222,
    "h": 25.3
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#871C1E
secondary
#45BAB8
accent
#E9E53F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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