#871C2A#871C2A

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

Color values

HEX#871C2A
RGBrgb(135, 28, 42)
HSLhsl(352, 66%, 32%)
HSVhsv(352, 79%, 53%)
CMYKcmyk(0%, 79.3%, 68.9%, 47.1%)
CIE-LABlab(29.79, 45.01, 19.86)
CIE-LCHlch(29.79, 49.20, 23.81°)
OKLaboklab(41.23% 0.1332 0.0469)
OKLCHoklch(41.23% 0.141 19.4)
XYZxyz(10.8260, 6.1502, 2.8071)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C2A #1C8779
analogous
#871C5F #871C2A #87441C
triadic
#871C2A #2A871C #1C2A87
tetradic
#871C2A #5F871C #1C8779 #441C87
square
#871C2A #5F871C #1C8779 #441C87
split-complementary
#871C2A #1C8744 #1C5F87
monochromatic
#22070A #54111A #871C2A #BA273A #D84558

Accessibility & contrast

On white

9.42
#871C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C2A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C2A#FFFFFF#000000##FFFFFF
##871C2A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c2a;
/* rgb */ color: rgb(135, 28, 42);
/* oklch */ color: oklch(41.2% 0.141 19.4);
Tailwind
colors: {
  custom: {
    50: '#b16363',
    500: '#871c2a',
    950: '#000000',
  },
}
SCSS
$custom: #871c2a;
$custom-light: #b16363;
$custom-dark: #000000;
JSON
{
  "hex": "#871c2a",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 352.15,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.14122,
    "h": 19.4
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#871C2A
secondary
#45BAAB
accent
#E9D23F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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