#871A26#871A26

#871A26 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 21.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#871A26
RGBrgb(135, 26, 38)
HSLhsl(353, 68%, 32%)
HSVhsv(353, 81%, 53%)
CMYKcmyk(0%, 80.7%, 71.9%, 47.1%)
CIE-LABlab(29.49, 45.43, 22.10)
CIE-LCHlch(29.49, 50.52, 25.94°)
OKLaboklab(40.99% 0.1337 0.0512)
OKLCHoklch(40.99% 0.143 21)
XYZxyz(10.7121, 6.0313, 2.4335)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A26 #1A877B
analogous
#871A5D #871A26 #87441A
triadic
#871A26 #26871A #1A2687
tetradic
#871A26 #5D871A #1A877B #441A87
square
#871A26 #5D871A #1A877B #441A87
split-complementary
#871A26 #1A8744 #1A5D87
monochromatic
#200609 #541018 #871A26 #BA2434 #DA4152

Accessibility & contrast

On white

9.52
#871A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A26
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A26#FFFFFF#000000##FFFFFF
##871A261.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#564E22
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a26;
/* rgb */ color: rgb(135, 26, 38);
/* oklch */ color: oklch(41.0% 0.143 21.0);
Tailwind
colors: {
  custom: {
    50: '#b16260',
    500: '#871a26',
    950: '#000000',
  },
}
SCSS
$custom: #871a26;
$custom-light: #b16260;
$custom-dark: #000000;
JSON
{
  "hex": "#871a26",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 353.394,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40985,
    "c": 0.14313,
    "h": 21
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#871A26
secondary
#42BAAD
accent
#EBD73D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871A26

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

Preview Lab → · Contrast checker → · Palette generator →

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