#871E5B#871E5B

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

Color values

HEX#871E5B
RGBrgb(135, 30, 91)
HSLhsl(325, 64%, 32%)
HSVhsv(325, 78%, 53%)
CMYKcmyk(0%, 77.8%, 32.6%, 47.1%)
CIE-LABlab(31.43, 48.77, -10.13)
CIE-LCHlch(31.43, 49.81, 348.27°)
OKLaboklab(42.89% 0.1491 -0.0264)
OKLCHoklch(42.89% 0.151 349.9)
XYZxyz(12.3450, 6.8362, 10.5649)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E5B #1E874A
analogous
#7F1E87 #871E5B #871E27
triadic
#871E5B #5B871E #1E5B87
tetradic
#871E5B #877F1E #1E874A #1E2787
square
#871E5B #877F1E #1E874A #1E2787
split-complementary
#871E5B #27871E #1E877F
monochromatic
#230817 #551339 #871E5B #B9297D #D7499B

Accessibility & contrast

On white

8.87
#871E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E5B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E5B#FFFFFF#000000##FFFFFF
##871E5B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5D
Deuteranopia (green-blind)
#4E5159
Tritanopia (blue-blind)
#91173A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e5b;
/* rgb */ color: rgb(135, 30, 91);
/* oklch */ color: oklch(42.9% 0.151 349.9);
Tailwind
colors: {
  custom: {
    50: '#ae6589',
    500: '#871e5b',
    950: '#000000',
  },
}
SCSS
$custom: #871e5b;
$custom-light: #ae6589;
$custom-dark: #000000;
JSON
{
  "hex": "#871e5b",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 325.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.15145,
    "h": 349.9
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#871E5B
secondary
#48B977
accent
#E78741
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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