#871D1B#871D1B

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

Color values

HEX#871D1B
RGBrgb(135, 29, 27)
HSLhsl(1, 67%, 32%)
HSVhsv(1, 80%, 53%)
CMYKcmyk(0%, 78.5%, 80%, 47.1%)
CIE-LABlab(29.69, 43.96, 29.22)
CIE-LCHlch(29.69, 52.79, 33.61°)
OKLaboklab(41.08% 0.1264 0.0641)
OKLCHoklch(41.08% 0.142 26.9)
XYZxyz(10.6301, 6.1104, 1.6564)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D1B #1B8587
analogous
#871B4F #871D1B #87531B
triadic
#871D1B #1B871D #1D1B87
tetradic
#871D1B #4F871B #1B8587 #531B87
square
#871D1B #4F871B #1B8587 #531B87
split-complementary
#871D1B #1B8753 #1B4F87
monochromatic
#210707 #541211 #871D1B #BA2825 #D94643

Accessibility & contrast

On white

9.45
#871D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D1B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D1B#FFFFFF#000000##FFFFFF
##871D1B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3719
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d1b;
/* rgb */ color: rgb(135, 29, 27);
/* oklch */ color: oklch(41.1% 0.142 26.9);
Tailwind
colors: {
  custom: {
    50: '#b26358',
    500: '#871d1b',
    950: '#000000',
  },
}
SCSS
$custom: #871d1b;
$custom-light: #b26358;
$custom-dark: #000000;
JSON
{
  "hex": "#871d1b",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 27
  },
  "hsl": {
    "h": 1.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.14177,
    "h": 26.9
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#871D1B
secondary
#44B8BA
accent
#E6EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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