#871C66#871C66

#871C66 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.160 H 343.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#871C66
RGBrgb(135, 28, 102)
HSLhsl(319, 66%, 32%)
HSVhsv(319, 79%, 53%)
CMYKcmyk(0%, 79.3%, 24.4%, 47.1%)
CIE-LABlab(31.67, 50.83, -16.87)
CIE-LCHlch(31.67, 53.56, 341.64°)
OKLaboklab(43.22% 0.1536 -0.0451)
OKLCHoklch(43.22% 0.16 343.6)
XYZxyz(12.8057, 6.9421, 13.2334)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C66 #1C873D
analogous
#731C87 #871C66 #871C30
triadic
#871C66 #66871C #1C6687
tetradic
#871C66 #87731C #1C873D #1C3087
square
#871C66 #87731C #1C873D #1C3087
split-complementary
#871C66 #30871C #1C8773
monochromatic
#220719 #541140 #871C66 #BA278C #D845AB

Accessibility & contrast

On white

8.79
#871C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C66
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C66#FFFFFF#000000##FFFFFF
##871C661.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#901C3F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871c66;
/* rgb */ color: rgb(135, 28, 102);
/* oklch */ color: oklch(43.2% 0.160 343.6);
Tailwind
colors: {
  custom: {
    50: '#ae6591',
    500: '#871c66',
    950: '#000000',
  },
}
SCSS
$custom: #871c66;
$custom-light: #ae6591;
$custom-dark: #000000;
JSON
{
  "hex": "#871c66",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 318.505,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43224,
    "c": 0.16005,
    "h": 343.6
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#871C66
secondary
#45BA69
accent
#E9733F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #871C66

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

Preview Lab → · Contrast checker → · Palette generator →

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