#871B34#871B34

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

Color values

HEX#871B34
RGBrgb(135, 27, 52)
HSLhsl(346, 67%, 32%)
HSVhsv(346, 80%, 53%)
CMYKcmyk(0%, 80%, 61.5%, 47.1%)
CIE-LABlab(29.87, 45.97, 13.38)
CIE-LCHlch(29.87, 47.88, 16.22°)
OKLaboklab(41.35% 0.1384 0.033)
OKLCHoklch(41.35% 0.142 13.4)
XYZxyz(11.0046, 6.1843, 3.8624)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B34 #1B876E
analogous
#871B6A #871B34 #87381B
triadic
#871B34 #34871B #1B3487
tetradic
#871B34 #6A871B #1B876E #381B87
square
#871B34 #6A871B #1B876E #381B87
split-complementary
#871B34 #1B8738 #1B6A87
monochromatic
#21070D #541120 #871B34 #BA2548 #D94366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871B34#FFFFFF#000000##FFFFFF
##871B341.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)
#393834
Deuteranopia (green-blind)
#554E31
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b34;
/* rgb */ color: rgb(135, 27, 52);
/* oklch */ color: oklch(41.4% 0.142 13.4);
Tailwind
colors: {
  custom: {
    50: '#b0636b',
    500: '#871b34',
    950: '#000000',
  },
}
SCSS
$custom: #871b34;
$custom-light: #b0636b;
$custom-dark: #000000;
JSON
{
  "hex": "#871b34",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 52
  },
  "hsl": {
    "h": 346.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.14229,
    "h": 13.4
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#871B34
secondary
#44BA9F
accent
#EAC23E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871B34

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

Preview Lab → · Contrast checker → · Palette generator →

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