#871D5B#871D5B

#871D5B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.153 H 349.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#871D5B
RGBrgb(135, 29, 91)
HSLhsl(325, 65%, 32%)
HSVhsv(325, 79%, 53%)
CMYKcmyk(0%, 78.5%, 32.6%, 47.1%)
CIE-LABlab(31.32, 49.10, -10.30)
CIE-LCHlch(31.32, 50.17, 348.15°)
OKLaboklab(42.81% 0.1502 -0.0269)
OKLCHoklch(42.81% 0.153 349.8)
XYZxyz(12.3200, 6.7864, 10.5566)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D5B #1D8749
analogous
#7E1D87 #871D5B #871D26
triadic
#871D5B #5B871D #1D5B87
tetradic
#871D5B #877E1D #1D8749 #1D2687
square
#871D5B #877E1D #1D8749 #1D2687
split-complementary
#871D5B #26871D #1D877E
monochromatic
#220717 #551239 #871D5B #B9287D #D7479B

Accessibility & contrast

On white

8.91
#871D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D5B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D5B#FFFFFF#000000##FFFFFF
##871D5B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#4E5059
Tritanopia (blue-blind)
#911639
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871d5b;
/* rgb */ color: rgb(135, 29, 91);
/* oklch */ color: oklch(42.8% 0.153 349.8);
Tailwind
colors: {
  custom: {
    50: '#ae6589',
    500: '#871d5b',
    950: '#000000',
  },
}
SCSS
$custom: #871d5b;
$custom-light: #ae6589;
$custom-dark: #000000;
JSON
{
  "hex": "#871d5b",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 324.906,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.15255,
    "h": 349.8
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#871D5B
secondary
#46B976
accent
#E88640
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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