#871A34#871A34

#871A34 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.3% C 0.143 H 13.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#871A34
RGBrgb(135, 26, 52)
HSLhsl(346, 68%, 32%)
HSVhsv(346, 81%, 53%)
CMYKcmyk(0%, 80.7%, 61.5%, 47.1%)
CIE-LABlab(29.76, 46.28, 13.23)
CIE-LCHlch(29.76, 48.14, 15.95°)
OKLaboklab(41.27% 0.1394 0.0326)
OKLCHoklch(41.27% 0.143 13.2)
XYZxyz(10.9820, 6.1393, 3.8549)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A34 #1A876D
analogous
#871A6B #871A34 #87371A
triadic
#871A34 #34871A #1A3487
tetradic
#871A34 #6B871A #1A876D #371A87
square
#871A34 #6B871A #1A876D #371A87
split-complementary
#871A34 #1A8737 #1A6B87
monochromatic
#20060C #541020 #871A34 #BA2448 #DA4166

Accessibility & contrast

On white

9.43
#871A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A34
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A34#FFFFFF#000000##FFFFFF
##871A341.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393834
Deuteranopia (green-blind)
#554E31
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a34;
/* rgb */ color: rgb(135, 26, 52);
/* oklch */ color: oklch(41.3% 0.143 13.2);
Tailwind
colors: {
  custom: {
    50: '#b0626b',
    500: '#871a34',
    950: '#000000',
  },
}
SCSS
$custom: #871a34;
$custom-light: #b0626b;
$custom-dark: #000000;
JSON
{
  "hex": "#871a34",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 345.688,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.14319,
    "h": 13.2
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#871A34
secondary
#42BA9E
accent
#EBC13D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871A34

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

Preview Lab → · Contrast checker → · Palette generator →

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