#871D1D#871D1D

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

Color values

HEX#871D1D
RGBrgb(135, 29, 29)
HSLhsl(0, 65%, 32%)
HSVhsv(0, 79%, 53%)
CMYKcmyk(0%, 78.5%, 78.5%, 47.1%)
CIE-LABlab(29.71, 44.04, 28.03)
CIE-LCHlch(29.71, 52.21, 32.48°)
OKLaboklab(41.11% 0.1271 0.0622)
OKLCHoklch(41.11% 0.142 26.1)
XYZxyz(10.6541, 6.1200, 1.7825)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D1D #1D8787
analogous
#871D52 #871D1D #87521D
triadic
#871D1D #1D871D #1D1D87
tetradic
#871D1D #52871D #1D8787 #521D87
square
#871D1D #52871D #1D8787 #521D87
split-complementary
#871D1D #1D8752 #1D5287
monochromatic
#220707 #551212 #871D1D #B92828 #D74747

Accessibility & contrast

On white

9.44
#871D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D1D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D1D#FFFFFF#000000##FFFFFF
##871D1D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d1d;
/* rgb */ color: rgb(135, 29, 29);
/* oklch */ color: oklch(41.1% 0.142 26.1);
Tailwind
colors: {
  custom: {
    50: '#b26359',
    500: '#871d1d',
    950: '#000000',
  },
}
SCSS
$custom: #871d1d;
$custom-light: #b26359;
$custom-dark: #000000;
JSON
{
  "hex": "#871d1d",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 29
  },
  "hsl": {
    "h": 0,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.14151,
    "h": 26.1
  },
  "luminance": 0.06118
}

Semantic roles & 50–950 ramp

primary
#871D1D
secondary
#46B9B9
accent
#E8E840
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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