#871C54#871C54

#871C54 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.150 H 353.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#871C54
RGBrgb(135, 28, 84)
HSLhsl(329, 66%, 32%)
HSVhsv(329, 79%, 53%)
CMYKcmyk(0%, 79.3%, 37.8%, 47.1%)
CIE-LABlab(30.93, 48.59, -6.31)
CIE-LCHlch(30.93, 49.00, 352.61°)
OKLaboklab(42.44% 0.1492 -0.0161)
OKLCHoklch(42.44% 0.15 353.9)
XYZxyz(12.0079, 6.6230, 9.0318)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C54 #1C874F
analogous
#851C87 #871C54 #871C1F
triadic
#871C54 #54871C #1C5487
tetradic
#871C54 #87851C #1C874F #1C1F87
square
#871C54 #87851C #1C874F #1C1F87
split-complementary
#871C54 #1F871C #1C8785
monochromatic
#220715 #541134 #871C54 #BA2774 #D84592

Accessibility & contrast

On white

9.04
#871C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C54
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C54#FFFFFF#000000##FFFFFF
##871C541.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C55
Deuteranopia (green-blind)
#4F5052
Tritanopia (blue-blind)
#920F35
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c54;
/* rgb */ color: rgb(135, 28, 84);
/* oklch */ color: oklch(42.4% 0.150 353.9);
Tailwind
colors: {
  custom: {
    50: '#ae6484',
    500: '#871c54',
    950: '#000000',
  },
}
SCSS
$custom: #871c54;
$custom-light: #ae6484;
$custom-dark: #000000;
JSON
{
  "hex": "#871c54",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 328.598,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.1501,
    "h": 353.9
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#871C54
secondary
#45BA7D
accent
#E9903F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871C54

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

Preview Lab → · Contrast checker → · Palette generator →

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