#871E1B#871E1B

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

Color values

HEX#871E1B
RGBrgb(135, 30, 27)
HSLhsl(2, 67%, 32%)
HSVhsv(2, 80%, 53%)
CMYKcmyk(0%, 77.8%, 80%, 47.1%)
CIE-LABlab(29.81, 43.62, 29.35)
CIE-LCHlch(29.81, 52.57, 33.94°)
OKLaboklab(41.18% 0.1253 0.0644)
OKLCHoklch(41.18% 0.141 27.2)
XYZxyz(10.6550, 6.1603, 1.6647)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E1B #1B8487
analogous
#871B4E #871E1B #87541B
triadic
#871E1B #1B871E #1E1B87
tetradic
#871E1B #4E871B #1B8487 #541B87
square
#871E1B #4E871B #1B8487 #541B87
split-complementary
#871E1B #1B8754 #1B4E87
monochromatic
#210707 #541311 #871E1B #BA2925 #D94743

Accessibility & contrast

On white

9.41
#871E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E1B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E1B#FFFFFF#000000##FFFFFF
##871E1B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e1b;
/* rgb */ color: rgb(135, 30, 27);
/* oklch */ color: oklch(41.2% 0.141 27.2);
Tailwind
colors: {
  custom: {
    50: '#b26358',
    500: '#871e1b',
    950: '#000000',
  },
}
SCSS
$custom: #871e1b;
$custom-light: #b26358;
$custom-dark: #000000;
JSON
{
  "hex": "#871e1b",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 1.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.14093,
    "h": 27.2
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#871E1B
secondary
#44B7BA
accent
#E5EA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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