#871C32#871C32

#871C32 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.141 H 14.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#871C32
RGBrgb(135, 28, 50)
HSLhsl(348, 66%, 32%)
HSVhsv(348, 79%, 53%)
CMYKcmyk(0%, 79.3%, 63%, 47.1%)
CIE-LABlab(29.94, 45.51, 14.80)
CIE-LCHlch(29.94, 47.85, 18.01°)
OKLaboklab(41.39% 0.1365 0.0361)
OKLCHoklch(41.39% 0.141 14.8)
XYZxyz(10.9838, 6.2133, 3.6379)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C32 #1C8771
analogous
#871C67 #871C32 #873C1C
triadic
#871C32 #32871C #1C3287
tetradic
#871C32 #67871C #1C8771 #3C1C87
square
#871C32 #67871C #1C8771 #3C1C87
split-complementary
#871C32 #1C873C #1C6787
monochromatic
#22070C #54111F #871C32 #BA2745 #D84563

Accessibility & contrast

On white

9.36
#871C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C32
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C32#FFFFFF#000000##FFFFFF
##871C321.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3832
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871c32;
/* rgb */ color: rgb(135, 28, 50);
/* oklch */ color: oklch(41.4% 0.141 14.8);
Tailwind
colors: {
  custom: {
    50: '#b06369',
    500: '#871c32',
    950: '#000000',
  },
}
SCSS
$custom: #871c32;
$custom-light: #b06369;
$custom-dark: #000000;
JSON
{
  "hex": "#871c32",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 50
  },
  "hsl": {
    "h": 347.664,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.14124,
    "h": 14.8
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#871C32
secondary
#45BAA2
accent
#E9C63F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871C32

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

Preview Lab → · Contrast checker → · Palette generator →

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