#871C55#871C55

#871C55 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.151 H 353.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#871C55
RGBrgb(135, 28, 85)
HSLhsl(328, 66%, 32%)
HSVhsv(328, 79%, 53%)
CMYKcmyk(0%, 79.3%, 37%, 47.1%)
CIE-LABlab(30.97, 48.71, -6.90)
CIE-LCHlch(30.97, 49.19, 351.93°)
OKLaboklab(42.48% 0.1495 -0.0177)
OKLCHoklch(42.48% 0.151 353.3)
XYZxyz(12.0474, 6.6388, 9.2396)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C55 #1C874E
analogous
#841C87 #871C55 #871C20
triadic
#871C55 #55871C #1C5587
tetradic
#871C55 #87841C #1C874E #1C2087
square
#871C55 #87841C #1C874E #1C2087
split-complementary
#871C55 #20871C #1C8784
monochromatic
#220715 #541135 #871C55 #BA2775 #D84594

Accessibility & contrast

On white

9.02
#871C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C55
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C55#FFFFFF#000000##FFFFFF
##871C551.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C56
Deuteranopia (green-blind)
#4F5053
Tritanopia (blue-blind)
#921036
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c55;
/* rgb */ color: rgb(135, 28, 85);
/* oklch */ color: oklch(42.5% 0.151 353.3);
Tailwind
colors: {
  custom: {
    50: '#ae6484',
    500: '#871c55',
    950: '#000000',
  },
}
SCSS
$custom: #871c55;
$custom-light: #ae6484;
$custom-dark: #000000;
JSON
{
  "hex": "#871c55",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 328.037,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42481,
    "c": 0.15057,
    "h": 353.3
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#871C55
secondary
#45BA7C
accent
#E98E3F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871C55

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

Preview Lab → · Contrast checker → · Palette generator →

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