#871C5B#871C5B

#871C5B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.154 H 349.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#871C5B
RGBrgb(135, 28, 91)
HSLhsl(325, 66%, 32%)
HSVhsv(325, 79%, 53%)
CMYKcmyk(0%, 79.3%, 32.6%, 47.1%)
CIE-LABlab(31.20, 49.42, -10.47)
CIE-LCHlch(31.20, 50.51, 348.04°)
OKLaboklab(42.73% 0.1512 -0.0274)
OKLCHoklch(42.73% 0.154 349.7)
XYZxyz(12.2959, 6.7382, 10.5486)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C5B #1C8748
analogous
#7E1C87 #871C5B #871C26
triadic
#871C5B #5B871C #1C5B87
tetradic
#871C5B #877E1C #1C8748 #1C2687
square
#871C5B #877E1C #1C8748 #1C2687
split-complementary
#871C5B #26871C #1C877E
monochromatic
#220717 #541139 #871C5B #BA277D #D8459C

Accessibility & contrast

On white

8.95
#871C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C5B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C5B#FFFFFF#000000##FFFFFF
##871C5B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5D
Deuteranopia (green-blind)
#4D5059
Tritanopia (blue-blind)
#911539
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c5b;
/* rgb */ color: rgb(135, 28, 91);
/* oklch */ color: oklch(42.7% 0.154 349.7);
Tailwind
colors: {
  custom: {
    50: '#ae6489',
    500: '#871c5b',
    950: '#000000',
  },
}
SCSS
$custom: #871c5b;
$custom-light: #ae6489;
$custom-dark: #000000;
JSON
{
  "hex": "#871c5b",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 91
  },
  "hsl": {
    "h": 324.673,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.15362,
    "h": 349.7
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#871C5B
secondary
#45BA75
accent
#E9853F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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