#871E1A#871E1A

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

Color values

HEX#871E1A
RGBrgb(135, 30, 26)
HSLhsl(2, 68%, 32%)
HSVhsv(2, 81%, 53%)
CMYKcmyk(0%, 77.8%, 80.7%, 47.1%)
CIE-LABlab(29.80, 43.58, 29.93)
CIE-LCHlch(29.80, 52.87, 34.48°)
OKLaboklab(41.16% 0.125 0.0654)
OKLCHoklch(41.16% 0.141 27.6)
XYZxyz(10.6437, 6.1557, 1.6048)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E1A #1A8387
analogous
#871A4D #871E1A #87551A
triadic
#871E1A #1A871E #1E1A87
tetradic
#871E1A #4D871A #1A8387 #551A87
square
#871E1A #4D871A #1A8387 #551A87
split-complementary
#871E1A #1A8755 #1A4D87
monochromatic
#200706 #541310 #871E1A #BA2924 #DA4741

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871E1A#FFFFFF#000000##FFFFFF
##871E1A1.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)
#3E3818
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871e1a;
/* rgb */ color: rgb(135, 30, 26);
/* oklch */ color: oklch(41.2% 0.141 27.6);
Tailwind
colors: {
  custom: {
    50: '#b26357',
    500: '#871e1a',
    950: '#000000',
  },
}
SCSS
$custom: #871e1a;
$custom-light: #b26357;
$custom-dark: #000000;
JSON
{
  "hex": "#871e1a",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 2.202,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.14107,
    "h": 27.6
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#871E1A
secondary
#42B6BA
accent
#E4EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #871E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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