#871C58#871C58

#871C58 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.152 H 351.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#871C58
RGBrgb(135, 28, 88)
HSLhsl(326, 66%, 32%)
HSVhsv(326, 79%, 53%)
CMYKcmyk(0%, 79.3%, 34.8%, 47.1%)
CIE-LABlab(31.08, 49.05, -8.69)
CIE-LCHlch(31.08, 49.82, 349.95°)
OKLaboklab(42.6% 0.1504 -0.0225)
OKLCHoklch(42.6% 0.152 351.5)
XYZxyz(12.1691, 6.6875, 9.8806)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C58 #1C874B
analogous
#811C87 #871C58 #871C23
triadic
#871C58 #58871C #1C5887
tetradic
#871C58 #87811C #1C874B #1C2387
square
#871C58 #87811C #1C874B #1C2387
split-complementary
#871C58 #23871C #1C8781
monochromatic
#220716 #541137 #871C58 #BA2779 #D84598

Accessibility & contrast

On white

8.99
#871C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C58
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C58#FFFFFF#000000##FFFFFF
##871C581.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D5A
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#921237
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c58;
/* rgb */ color: rgb(135, 28, 88);
/* oklch */ color: oklch(42.6% 0.152 351.5);
Tailwind
colors: {
  custom: {
    50: '#ae6487',
    500: '#871c58',
    950: '#000000',
  },
}
SCSS
$custom: #871c58;
$custom-light: #ae6487;
$custom-dark: #000000;
JSON
{
  "hex": "#871c58",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 326.355,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.15206,
    "h": 351.5
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#871C58
secondary
#45BA78
accent
#E98A3F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871C58

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

Preview Lab → · Contrast checker → · Palette generator →

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