#871E2A#871E2A

#871E2A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.139 H 19.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#871E2A
RGBrgb(135, 30, 42)
HSLhsl(353, 64%, 32%)
HSVhsv(353, 78%, 53%)
CMYKcmyk(0%, 77.8%, 68.9%, 47.1%)
CIE-LABlab(30.03, 44.33, 20.17)
CIE-LCHlch(30.03, 48.70, 24.46°)
OKLaboklab(41.41% 0.1311 0.0475)
OKLCHoklch(41.41% 0.139 19.9)
XYZxyz(10.8751, 6.2483, 2.8234)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E2A #1E877B
analogous
#871E5E #871E2A #87471E
triadic
#871E2A #2A871E #1E2A87
tetradic
#871E2A #5E871E #1E877B #471E87
square
#871E2A #5E871E #1E877B #471E87
split-complementary
#871E2A #1E8747 #1E5E87
monochromatic
#23080B #55131A #871E2A #B9293A #D74959

Accessibility & contrast

On white

9.34
#871E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E2A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E2A#FFFFFF#000000##FFFFFF
##871E2A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392A
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e2a;
/* rgb */ color: rgb(135, 30, 42);
/* oklch */ color: oklch(41.4% 0.139 19.9);
Tailwind
colors: {
  custom: {
    50: '#b16463',
    500: '#871e2a',
    950: '#000000',
  },
}
SCSS
$custom: #871e2a;
$custom-light: #b16463;
$custom-dark: #000000;
JSON
{
  "hex": "#871e2a",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 353.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.1394,
    "h": 19.9
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#871E2A
secondary
#48B9AC
accent
#E7D441
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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