#871E1E#871E1E

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

Color values

HEX#871E1E
RGBrgb(135, 30, 30)
HSLhsl(0, 64%, 32%)
HSVhsv(0, 78%, 53%)
CMYKcmyk(0%, 77.8%, 77.8%, 47.1%)
CIE-LABlab(29.85, 43.74, 27.57)
CIE-LCHlch(29.85, 51.70, 32.23°)
OKLaboklab(41.21% 0.1264 0.0614)
OKLCHoklch(41.21% 0.141 25.9)
XYZxyz(10.6915, 6.1749, 1.8570)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E1E #1E8787
analogous
#871E53 #871E1E #87531E
triadic
#871E1E #1E871E #1E1E87
tetradic
#871E1E #53871E #1E8787 #531E87
square
#871E1E #53871E #1E8787 #531E87
split-complementary
#871E1E #1E8753 #1E5387
monochromatic
#230808 #551313 #871E1E #B92929 #D74949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871E1E#FFFFFF#000000##FFFFFF
##871E1E1.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)
#3E381D
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e1e;
/* rgb */ color: rgb(135, 30, 30);
/* oklch */ color: oklch(41.2% 0.141 25.9);
Tailwind
colors: {
  custom: {
    50: '#b2635a',
    500: '#871e1e',
    950: '#000000',
  },
}
SCSS
$custom: #871e1e;
$custom-light: #b2635a;
$custom-dark: #000000;
JSON
{
  "hex": "#871e1e",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 30
  },
  "hsl": {
    "h": 0,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.14053,
    "h": 25.9
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#871E1E
secondary
#48B9B9
accent
#E7E741
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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