#871A2A#871A2A

#871A2A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.143 H 18.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#871A2A
RGBrgb(135, 26, 42)
HSLhsl(351, 68%, 32%)
HSVhsv(351, 81%, 53%)
CMYKcmyk(0%, 80.7%, 68.9%, 47.1%)
CIE-LABlab(29.56, 45.65, 19.58)
CIE-LCHlch(29.56, 49.67, 23.21°)
OKLaboklab(41.06% 0.1353 0.0462)
OKLCHoklch(41.06% 0.143 18.9)
XYZxyz(10.7802, 6.0585, 2.7918)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A2A #1A8777
analogous
#871A61 #871A2A #87411A
triadic
#871A2A #2A871A #1A2A87
tetradic
#871A2A #61871A #1A8777 #411A87
square
#871A2A #61871A #1A8777 #411A87
split-complementary
#871A2A #1A8741 #1A6187
monochromatic
#20060A #54101A #871A2A #BA243A #DA4158

Accessibility & contrast

On white

9.50
#871A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#871A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A2A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A2A#FFFFFF#000000##FFFFFF
##871A2A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a2a;
/* rgb */ color: rgb(135, 26, 42);
/* oklch */ color: oklch(41.1% 0.143 18.9);
Tailwind
colors: {
  custom: {
    50: '#b16263',
    500: '#871a2a',
    950: '#000000',
  },
}
SCSS
$custom: #871a2a;
$custom-light: #b16263;
$custom-dark: #000000;
JSON
{
  "hex": "#871a2a",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 351.193,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41057,
    "c": 0.14295,
    "h": 18.9
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#871A2A
secondary
#42BAA9
accent
#EBD13D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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