#871C5D#871C5D

#871C5D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.155 H 348.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#871C5D
RGBrgb(135, 28, 93)
HSLhsl(324, 66%, 32%)
HSVhsv(324, 79%, 53%)
CMYKcmyk(0%, 79.3%, 31.1%, 47.1%)
CIE-LABlab(31.28, 49.66, -11.65)
CIE-LCHlch(31.28, 51.01, 346.80°)
OKLaboklab(42.81% 0.1517 -0.0306)
OKLCHoklch(42.81% 0.155 348.6)
XYZxyz(12.3834, 6.7732, 11.0090)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C5D #1C8746
analogous
#7C1C87 #871C5D #871C28
triadic
#871C5D #5D871C #1C5D87
tetradic
#871C5D #877C1C #1C8746 #1C2887
square
#871C5D #877C1C #1C8746 #1C2887
split-complementary
#871C5D #28871C #1C877C
monochromatic
#220717 #54113A #871C5D #BA2780 #D8459F

Accessibility & contrast

On white

8.92
#871C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C5D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C5D#FFFFFF#000000##FFFFFF
##871C5D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c5d;
/* rgb */ color: rgb(135, 28, 93);
/* oklch */ color: oklch(42.8% 0.155 348.6);
Tailwind
colors: {
  custom: {
    50: '#ae648b',
    500: '#871c5d',
    950: '#000000',
  },
}
SCSS
$custom: #871c5d;
$custom-light: #ae648b;
$custom-dark: #000000;
JSON
{
  "hex": "#871c5d",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 323.551,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.15471,
    "h": 348.6
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#871C5D
secondary
#45BA73
accent
#E9823F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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