#871B26#871B26

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

Color values

HEX#871B26
RGBrgb(135, 27, 38)
HSLhsl(354, 67%, 32%)
HSVhsv(354, 80%, 53%)
CMYKcmyk(0%, 80%, 71.9%, 47.1%)
CIE-LABlab(29.60, 45.12, 22.23)
CIE-LCHlch(29.60, 50.30, 26.23°)
OKLaboklab(41.07% 0.1326 0.0515)
OKLCHoklch(41.07% 0.142 21.2)
XYZxyz(10.7347, 6.0764, 2.4410)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B26 #1B877C
analogous
#871B5C #871B26 #87461B
triadic
#871B26 #26871B #1B2687
tetradic
#871B26 #5C871B #1B877C #461B87
square
#871B26 #5C871B #1B877C #461B87
split-complementary
#871B26 #1B8746 #1B5C87
monochromatic
#210709 #541118 #871B26 #BA2534 #D94352

Accessibility & contrast

On white

9.48
#871B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B26
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B26#FFFFFF#000000##FFFFFF
##871B261.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b26;
/* rgb */ color: rgb(135, 27, 38);
/* oklch */ color: oklch(41.1% 0.142 21.2);
Tailwind
colors: {
  custom: {
    50: '#b16260',
    500: '#871b26',
    950: '#000000',
  },
}
SCSS
$custom: #871b26;
$custom-light: #b16260;
$custom-dark: #000000;
JSON
{
  "hex": "#871b26",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 353.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.14229,
    "h": 21.2
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#871B26
secondary
#44BAAE
accent
#EAD83E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871B26

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

Preview Lab → · Contrast checker → · Palette generator →

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