#871B28#871B28

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

Color values

HEX#871B28
RGBrgb(135, 27, 40)
HSLhsl(353, 67%, 32%)
HSVhsv(353, 80%, 53%)
CMYKcmyk(0%, 80%, 70.4%, 47.1%)
CIE-LABlab(29.64, 45.22, 20.98)
CIE-LCHlch(29.64, 49.85, 24.89°)
OKLaboklab(41.1% 0.1335 0.0491)
OKLCHoklch(41.1% 0.142 20.2)
XYZxyz(10.7678, 6.0896, 2.6155)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B28 #1B877A
analogous
#871B5E #871B28 #87441B
triadic
#871B28 #28871B #1B2887
tetradic
#871B28 #5E871B #1B877A #441B87
square
#871B28 #5E871B #1B877A #441B87
split-complementary
#871B28 #1B8744 #1B5E87
monochromatic
#21070A #541119 #871B28 #BA2537 #D94355

Accessibility & contrast

On white

9.47
#871B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B28
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B28#FFFFFF#000000##FFFFFF
##871B281.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b28;
/* rgb */ color: rgb(135, 27, 40);
/* oklch */ color: oklch(41.1% 0.142 20.2);
Tailwind
colors: {
  custom: {
    50: '#b16261',
    500: '#871b28',
    950: '#000000',
  },
}
SCSS
$custom: #871b28;
$custom-light: #b16261;
$custom-dark: #000000;
JSON
{
  "hex": "#871b28",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 352.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41104,
    "c": 0.14218,
    "h": 20.2
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#871B28
secondary
#44BAAC
accent
#EAD53E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871B28

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

Preview Lab → · Contrast checker → · Palette generator →

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