#871D28#871D28

#871D28 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 20.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#871D28
RGBrgb(135, 29, 40)
HSLhsl(354, 65%, 32%)
HSVhsv(354, 79%, 53%)
CMYKcmyk(0%, 78.5%, 70.4%, 47.1%)
CIE-LABlab(29.87, 44.56, 21.27)
CIE-LCHlch(29.87, 49.38, 25.52°)
OKLaboklab(41.28% 0.1313 0.0497)
OKLCHoklch(41.28% 0.14 20.7)
XYZxyz(10.8152, 6.1845, 2.6313)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D28 #1D877C
analogous
#871D5D #871D28 #87471D
triadic
#871D28 #28871D #1D2887
tetradic
#871D28 #5D871D #1D877C #471D87
square
#871D28 #5D871D #1D877C #471D87
split-complementary
#871D28 #1D8747 #1D5D87
monochromatic
#22070A #551219 #871D28 #B92837 #D74756

Accessibility & contrast

On white

9.39
#871D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D28
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D28#FFFFFF#000000##FFFFFF
##871D281.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3828
Deuteranopia (green-blind)
#574E25
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d28;
/* rgb */ color: rgb(135, 29, 40);
/* oklch */ color: oklch(41.3% 0.140 20.7);
Tailwind
colors: {
  custom: {
    50: '#b16361',
    500: '#871d28',
    950: '#000000',
  },
}
SCSS
$custom: #871d28;
$custom-light: #b16361;
$custom-dark: #000000;
JSON
{
  "hex": "#871d28",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 353.774,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.14042,
    "h": 20.7
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#871D28
secondary
#46B9AD
accent
#E8D640
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871D28

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

Preview Lab → · Contrast checker → · Palette generator →

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