#871E26#871E26

#871E26 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 22.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#871E26
RGBrgb(135, 30, 38)
HSLhsl(355, 64%, 32%)
HSVhsv(355, 78%, 53%)
CMYKcmyk(0%, 77.8%, 71.9%, 47.1%)
CIE-LABlab(29.96, 44.11, 22.67)
CIE-LCHlch(29.96, 49.59, 27.20°)
OKLaboklab(41.34% 0.1294 0.0525)
OKLCHoklch(41.34% 0.14 22.1)
XYZxyz(10.8070, 6.2210, 2.4651)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E26 #1E877F
analogous
#871E5A #871E26 #874B1E
triadic
#871E26 #26871E #1E2687
tetradic
#871E26 #5A871E #1E877F #4B1E87
square
#871E26 #5A871E #1E877F #4B1E87
split-complementary
#871E26 #1E874B #1E5A87
monochromatic
#23080A #551318 #871E26 #B92934 #D74954

Accessibility & contrast

On white

9.36
#871E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E26
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E26#FFFFFF#000000##FFFFFF
##871E261.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3825
Deuteranopia (green-blind)
#574F23
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e26;
/* rgb */ color: rgb(135, 30, 38);
/* oklch */ color: oklch(41.3% 0.140 22.1);
Tailwind
colors: {
  custom: {
    50: '#b16460',
    500: '#871e26',
    950: '#000000',
  },
}
SCSS
$custom: #871e26;
$custom-light: #b16460;
$custom-dark: #000000;
JSON
{
  "hex": "#871e26",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 355.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.13966,
    "h": 22.1
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#871E26
secondary
#48B9B0
accent
#E7DA41
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871E26

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

Preview Lab → · Contrast checker → · Palette generator →

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