#871A28#871A28

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

Color values

HEX#871A28
RGBrgb(135, 26, 40)
HSLhsl(352, 68%, 32%)
HSVhsv(352, 81%, 53%)
CMYKcmyk(0%, 80.7%, 70.4%, 47.1%)
CIE-LABlab(29.52, 45.54, 20.84)
CIE-LCHlch(29.52, 50.08, 24.59°)
OKLaboklab(41.02% 0.1345 0.0487)
OKLCHoklch(41.02% 0.143 19.9)
XYZxyz(10.7453, 6.0446, 2.6080)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A28 #1A8779
analogous
#871A5F #871A28 #87431A
triadic
#871A28 #28871A #1A2887
tetradic
#871A28 #5F871A #1A8779 #431A87
square
#871A28 #5F871A #1A8779 #431A87
split-complementary
#871A28 #1A8743 #1A5F87
monochromatic
#20060A #541019 #871A28 #BA2437 #DA4155

Accessibility & contrast

On white

9.51
#871A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A28
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A28#FFFFFF#000000##FFFFFF
##871A281.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a28;
/* rgb */ color: rgb(135, 26, 40);
/* oklch */ color: oklch(41.0% 0.143 19.9);
Tailwind
colors: {
  custom: {
    50: '#b16261',
    500: '#871a28',
    950: '#000000',
  },
}
SCSS
$custom: #871a28;
$custom-light: #b16261;
$custom-dark: #000000;
JSON
{
  "hex": "#871a28",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 352.294,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4102,
    "c": 0.14302,
    "h": 19.9
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#871A28
secondary
#42BAAB
accent
#EBD43D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871A28

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

Preview Lab → · Contrast checker → · Palette generator →

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