#871C1B#871C1B

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

Color values

HEX#871C1B
RGBrgb(135, 28, 27)
HSLhsl(1, 67%, 32%)
HSVhsv(1, 80%, 53%)
CMYKcmyk(0%, 79.3%, 80%, 47.1%)
CIE-LABlab(29.57, 44.30, 29.09)
CIE-LCHlch(29.57, 53.00, 33.29°)
OKLaboklab(40.99% 0.1275 0.0639)
OKLCHoklch(40.99% 0.143 26.6)
XYZxyz(10.6060, 6.0622, 1.6484)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C1B #1B8687
analogous
#871B50 #871C1B #87521B
triadic
#871C1B #1B871C #1C1B87
tetradic
#871C1B #50871B #1B8687 #521B87
square
#871C1B #50871B #1B8687 #521B87
split-complementary
#871C1B #1B8752 #1B5087
monochromatic
#210707 #541111 #871C1B #BA2725 #D94443

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C1B#FFFFFF#000000##FFFFFF
##871C1B1.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)
#3D371A
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#95001D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c1b;
/* rgb */ color: rgb(135, 28, 27);
/* oklch */ color: oklch(41.0% 0.143 26.6);
Tailwind
colors: {
  custom: {
    50: '#b26258',
    500: '#871c1b',
    950: '#000000',
  },
}
SCSS
$custom: #871c1b;
$custom-light: #b26258;
$custom-dark: #000000;
JSON
{
  "hex": "#871c1b",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 27
  },
  "hsl": {
    "h": 0.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.14259,
    "h": 26.6
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#871C1B
secondary
#44B9BA
accent
#E8EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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