#871D5C#871D5C

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

Color values

HEX#871D5C
RGBrgb(135, 29, 92)
HSLhsl(324, 65%, 32%)
HSVhsv(324, 79%, 53%)
CMYKcmyk(0%, 78.5%, 31.9%, 47.1%)
CIE-LABlab(31.36, 49.22, -10.89)
CIE-LCHlch(31.36, 50.41, 347.52°)
OKLaboklab(42.85% 0.1504 -0.0285)
OKLCHoklch(42.85% 0.153 349.3)
XYZxyz(12.3635, 6.8038, 10.7853)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D5C #1D8748
analogous
#7D1D87 #871D5C #871D27
triadic
#871D5C #5C871D #1D5C87
tetradic
#871D5C #877D1D #1D8748 #1D2787
square
#871D5C #877D1D #1D8748 #1D2787
split-complementary
#871D5C #27871D #1D877D
monochromatic
#220717 #55123A #871D5C #B9287E #D7479D

Accessibility & contrast

On white

8.90
#871D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D5C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D5C#FFFFFF#000000##FFFFFF
##871D5C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#4D505A
Tritanopia (blue-blind)
#91163A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871d5c;
/* rgb */ color: rgb(135, 29, 92);
/* oklch */ color: oklch(42.9% 0.153 349.3);
Tailwind
colors: {
  custom: {
    50: '#ae658a',
    500: '#871d5c',
    950: '#000000',
  },
}
SCSS
$custom: #871d5c;
$custom-light: #ae658a;
$custom-dark: #000000;
JSON
{
  "hex": "#871d5c",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 324.34,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.15309,
    "h": 349.3
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#871D5C
secondary
#46B975
accent
#E88440
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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