#871C5A#871C5A

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

Color values

HEX#871C5A
RGBrgb(135, 28, 90)
HSLhsl(325, 66%, 32%)
HSVhsv(325, 79%, 53%)
CMYKcmyk(0%, 79.3%, 33.3%, 47.1%)
CIE-LABlab(31.16, 49.29, -9.88)
CIE-LCHlch(31.16, 50.28, 348.67°)
OKLaboklab(42.69% 0.1509 -0.0257)
OKLCHoklch(42.69% 0.153 350.3)
XYZxyz(12.2531, 6.7210, 10.3229)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C5A #1C8749
analogous
#7F1C87 #871C5A #871C24
triadic
#871C5A #5A871C #1C5A87
tetradic
#871C5A #877F1C #1C8749 #1C2487
square
#871C5A #877F1C #1C8749 #1C2487
split-complementary
#871C5A #24871C #1C877F
monochromatic
#220716 #541138 #871C5A #BA277C #D8459A

Accessibility & contrast

On white

8.96
#871C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C5A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C5A#FFFFFF#000000##FFFFFF
##871C5A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5C
Deuteranopia (green-blind)
#4E5058
Tritanopia (blue-blind)
#911439
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c5a;
/* rgb */ color: rgb(135, 28, 90);
/* oklch */ color: oklch(42.7% 0.153 350.3);
Tailwind
colors: {
  custom: {
    50: '#ae6488',
    500: '#871c5a',
    950: '#000000',
  },
}
SCSS
$custom: #871c5a;
$custom-light: #ae6488;
$custom-dark: #000000;
JSON
{
  "hex": "#871c5a",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 325.234,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.15309,
    "h": 350.3
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#871C5A
secondary
#45BA76
accent
#E9863F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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