#871B27#871B27

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

Color values

HEX#871B27
RGBrgb(135, 27, 39)
HSLhsl(353, 67%, 32%)
HSVhsv(353, 80%, 53%)
CMYKcmyk(0%, 80%, 71.1%, 47.1%)
CIE-LABlab(29.62, 45.17, 21.61)
CIE-LCHlch(29.62, 50.07, 25.56°)
OKLaboklab(41.09% 0.133 0.0503)
OKLCHoklch(41.09% 0.142 20.7)
XYZxyz(10.7510, 6.0829, 2.5271)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B27 #1B877B
analogous
#871B5D #871B27 #87451B
triadic
#871B27 #27871B #1B2787
tetradic
#871B27 #5D871B #1B877B #451B87
square
#871B27 #5D871B #1B877B #451B87
split-complementary
#871B27 #1B8745 #1B5D87
monochromatic
#21070A #541118 #871B27 #BA2536 #D94354

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871B27#FFFFFF#000000##FFFFFF
##871B271.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)
#3B3727
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b27;
/* rgb */ color: rgb(135, 27, 39);
/* oklch */ color: oklch(41.1% 0.142 20.7);
Tailwind
colors: {
  custom: {
    50: '#b16261',
    500: '#871b27',
    950: '#000000',
  },
}
SCSS
$custom: #871b27;
$custom-light: #b16261;
$custom-dark: #000000;
JSON
{
  "hex": "#871b27",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 353.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.14223,
    "h": 20.7
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#871B27
secondary
#44BAAD
accent
#EAD73E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871B27

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

Preview Lab → · Contrast checker → · Palette generator →

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