#871E2D#871E2D

#871E2D is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 18.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#871E2D
RGBrgb(135, 30, 45)
HSLhsl(351, 64%, 32%)
HSVhsv(351, 78%, 53%)
CMYKcmyk(0%, 77.8%, 66.7%, 47.1%)
CIE-LABlab(30.08, 44.51, 18.28)
CIE-LCHlch(30.08, 48.11, 22.32°)
OKLaboklab(41.47% 0.1323 0.0436)
OKLCHoklch(41.47% 0.139 18.3)
XYZxyz(10.9308, 6.2705, 3.1169)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E2D #1E8778
analogous
#871E61 #871E2D #87441E
triadic
#871E2D #2D871E #1E2D87
tetradic
#871E2D #61871E #1E8778 #441E87
square
#871E2D #61871E #1E8778 #441E87
split-complementary
#871E2D #1E8744 #1E6187
monochromatic
#23080C #55131C #871E2D #B9293E #D7495D

Accessibility & contrast

On white

9.32
#871E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E2D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E2D#FFFFFF#000000##FFFFFF
##871E2D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392D
Deuteranopia (green-blind)
#574F2A
Tritanopia (blue-blind)
#950025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e2d;
/* rgb */ color: rgb(135, 30, 45);
/* oklch */ color: oklch(41.5% 0.139 18.3);
Tailwind
colors: {
  custom: {
    50: '#b16465',
    500: '#871e2d',
    950: '#000000',
  },
}
SCSS
$custom: #871e2d;
$custom-light: #b16465;
$custom-dark: #000000;
JSON
{
  "hex": "#871e2d",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 351.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.13929,
    "h": 18.3
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#871E2D
secondary
#48B9A9
accent
#E7CF41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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