#871C26#871C26

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

Color values

HEX#871C26
RGBrgb(135, 28, 38)
HSLhsl(354, 66%, 32%)
HSVhsv(354, 79%, 53%)
CMYKcmyk(0%, 79.3%, 71.9%, 47.1%)
CIE-LABlab(29.72, 44.79, 22.38)
CIE-LCHlch(29.72, 50.07, 26.55°)
OKLaboklab(41.16% 0.1316 0.0518)
OKLCHoklch(41.16% 0.141 21.5)
XYZxyz(10.7580, 6.1230, 2.4487)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C26 #1C877D
analogous
#871C5B #871C26 #87481C
triadic
#871C26 #26871C #1C2687
tetradic
#871C26 #5B871C #1C877D #481C87
square
#871C26 #5B871C #1C877D #481C87
split-complementary
#871C26 #1C8748 #1C5B87
monochromatic
#220709 #541118 #871C26 #BA2734 #D84553

Accessibility & contrast

On white

9.44
#871C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C26
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C26#FFFFFF#000000##FFFFFF
##871C261.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3725
Deuteranopia (green-blind)
#574E23
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c26;
/* rgb */ color: rgb(135, 28, 38);
/* oklch */ color: oklch(41.2% 0.141 21.5);
Tailwind
colors: {
  custom: {
    50: '#b16360',
    500: '#871c26',
    950: '#000000',
  },
}
SCSS
$custom: #871c26;
$custom-light: #b16360;
$custom-dark: #000000;
JSON
{
  "hex": "#871c26",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 38
  },
  "hsl": {
    "h": 354.393,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.14144,
    "h": 21.5
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#871C26
secondary
#45BAAF
accent
#E9D93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871C26

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

Preview Lab → · Contrast checker → · Palette generator →

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