#871E39#871E39

#871E39 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.140 H 11.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#871E39
RGBrgb(135, 30, 57)
HSLhsl(345, 64%, 32%)
HSVhsv(345, 78%, 53%)
CMYKcmyk(0%, 77.8%, 57.8%, 47.1%)
CIE-LABlab(30.34, 45.34, 10.70)
CIE-LCHlch(30.34, 46.59, 13.27°)
OKLaboklab(41.74% 0.1373 0.0269)
OKLCHoklch(41.74% 0.14 11.1)
XYZxyz(11.1955, 6.3765, 4.5114)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E39 #1E876C
analogous
#871E6E #871E39 #87371E
triadic
#871E39 #39871E #1E3987
tetradic
#871E39 #6E871E #1E876C #371E87
square
#871E39 #6E871E #1E876C #371E87
split-complementary
#871E39 #1E8737 #1E6E87
monochromatic
#23080F #551324 #871E39 #B9294E #D7496D

Accessibility & contrast

On white

9.23
#871E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E39
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E39#FFFFFF#000000##FFFFFF
##871E391.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A39
Deuteranopia (green-blind)
#554F36
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e39;
/* rgb */ color: rgb(135, 30, 57);
/* oklch */ color: oklch(41.7% 0.140 11.1);
Tailwind
colors: {
  custom: {
    50: '#b0646f',
    500: '#871e39',
    950: '#000000',
  },
}
SCSS
$custom: #871e39;
$custom-light: #b0646f;
$custom-dark: #000000;
JSON
{
  "hex": "#871e39",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 344.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.13988,
    "h": 11.1
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#871E39
secondary
#48B99C
accent
#E7BC41
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871E39

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

Preview Lab → · Contrast checker → · Palette generator →

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