#871E1D#871E1D

#871E1D is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.141 H 26.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#871E1D
RGBrgb(135, 30, 29)
HSLhsl(1, 65%, 32%)
HSVhsv(1, 79%, 53%)
CMYKcmyk(0%, 77.8%, 78.5%, 47.1%)
CIE-LABlab(29.84, 43.70, 28.17)
CIE-LCHlch(29.84, 51.99, 32.81°)
OKLaboklab(41.2% 0.126 0.0625)
OKLCHoklch(41.2% 0.141 26.4)
XYZxyz(10.6790, 6.1698, 1.7908)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E1D #1D8687
analogous
#871D51 #871E1D #87531D
triadic
#871E1D #1D871E #1E1D87
tetradic
#871E1D #51871D #1D8687 #531D87
square
#871E1D #51871D #1D8687 #531D87
split-complementary
#871E1D #1D8753 #1D5187
monochromatic
#220807 #551312 #871E1D #B92928 #D74847

Accessibility & contrast

On white

9.40
#871E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E1D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E1D#FFFFFF#000000##FFFFFF
##871E1D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e1d;
/* rgb */ color: rgb(135, 30, 29);
/* oklch */ color: oklch(41.2% 0.141 26.4);
Tailwind
colors: {
  custom: {
    50: '#b26359',
    500: '#871e1d',
    950: '#000000',
  },
}
SCSS
$custom: #871e1d;
$custom-light: #b26359;
$custom-dark: #000000;
JSON
{
  "hex": "#871e1d",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 29
  },
  "hsl": {
    "h": 0.566,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.14066,
    "h": 26.4
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#871E1D
secondary
#46B8B9
accent
#E6E840
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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