#871E5A#871E5A

#871E5A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.151 H 350.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#871E5A
RGBrgb(135, 30, 90)
HSLhsl(326, 64%, 32%)
HSVhsv(326, 78%, 53%)
CMYKcmyk(0%, 77.8%, 33.3%, 47.1%)
CIE-LABlab(31.39, 48.65, -9.53)
CIE-LCHlch(31.39, 49.57, 348.91°)
OKLaboklab(42.85% 0.1489 -0.0248)
OKLCHoklch(42.85% 0.151 350.5)
XYZxyz(12.3021, 6.8191, 10.3392)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E5A #1E874B
analogous
#7F1E87 #871E5A #871E26
triadic
#871E5A #5A871E #1E5A87
tetradic
#871E5A #877F1E #1E874B #1E2687
square
#871E5A #877F1E #1E874B #1E2687
split-complementary
#871E5A #26871E #1E877F
monochromatic
#230817 #551339 #871E5A #B9297B #D7499A

Accessibility & contrast

On white

8.88
#871E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E5A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E5A#FFFFFF#000000##FFFFFF
##871E5A1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#4E5158
Tritanopia (blue-blind)
#911639
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e5a;
/* rgb */ color: rgb(135, 30, 90);
/* oklch */ color: oklch(42.9% 0.151 350.5);
Tailwind
colors: {
  custom: {
    50: '#ae6588',
    500: '#871e5a',
    950: '#000000',
  },
}
SCSS
$custom: #871e5a;
$custom-light: #ae6588;
$custom-dark: #000000;
JSON
{
  "hex": "#871e5a",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 325.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.15092,
    "h": 350.5
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#871E5A
secondary
#48B978
accent
#E78841
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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