#871C57#871C57

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

Color values

HEX#871C57
RGBrgb(135, 28, 87)
HSLhsl(327, 66%, 32%)
HSVhsv(327, 79%, 53%)
CMYKcmyk(0%, 79.3%, 35.6%, 47.1%)
CIE-LABlab(31.05, 48.94, -8.10)
CIE-LCHlch(31.05, 49.60, 350.60°)
OKLaboklab(42.56% 0.1501 -0.0209)
OKLCHoklch(42.56% 0.152 352.1)
XYZxyz(12.1280, 6.6710, 9.6639)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C57 #1C874C
analogous
#821C87 #871C57 #871C22
triadic
#871C57 #57871C #1C5787
tetradic
#871C57 #87821C #1C874C #1C2287
square
#871C57 #87821C #1C874C #1C2287
split-complementary
#871C57 #22871C #1C8782
monochromatic
#220716 #541136 #871C57 #BA2778 #D84596

Accessibility & contrast

On white

9.00
#871C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C57
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C57#FFFFFF#000000##FFFFFF
##871C571.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c57;
/* rgb */ color: rgb(135, 28, 87);
/* oklch */ color: oklch(42.6% 0.152 352.1);
Tailwind
colors: {
  custom: {
    50: '#ae6486',
    500: '#871c57',
    950: '#000000',
  },
}
SCSS
$custom: #871c57;
$custom-light: #ae6486;
$custom-dark: #000000;
JSON
{
  "hex": "#871c57",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 326.916,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.15155,
    "h": 352.1
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#871C57
secondary
#45BA79
accent
#E98B3F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871C57

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

Preview Lab → · Contrast checker → · Palette generator →

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