#871D66#871D66

#871D66 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.159 H 343.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#871D66
RGBrgb(135, 29, 102)
HSLhsl(319, 65%, 32%)
HSVhsv(319, 79%, 53%)
CMYKcmyk(0%, 78.5%, 24.4%, 47.1%)
CIE-LABlab(31.78, 50.52, -16.70)
CIE-LCHlch(31.78, 53.21, 341.71°)
OKLaboklab(43.3% 0.1526 -0.0446)
OKLCHoklch(43.3% 0.159 343.7)
XYZxyz(12.8298, 6.9903, 13.2414)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D66 #1D873E
analogous
#731D87 #871D66 #871D31
triadic
#871D66 #66871D #1D6687
tetradic
#871D66 #87731D #1D873E #1D3187
square
#871D66 #87731D #1D873E #1D3187
split-complementary
#871D66 #31871D #1D8773
monochromatic
#22071A #551240 #871D66 #B9288C #D747AA

Accessibility & contrast

On white

8.76
#871D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D66
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D66#FFFFFF#000000##FFFFFF
##871D661.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294068
Deuteranopia (green-blind)
#4A5164
Tritanopia (blue-blind)
#901D3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871d66;
/* rgb */ color: rgb(135, 29, 102);
/* oklch */ color: oklch(43.3% 0.159 343.7);
Tailwind
colors: {
  custom: {
    50: '#ae6591',
    500: '#871d66',
    950: '#000000',
  },
}
SCSS
$custom: #871d66;
$custom-light: #ae6591;
$custom-dark: #000000;
JSON
{
  "hex": "#871d66",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 318.679,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43304,
    "c": 0.15899,
    "h": 343.7
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#871D66
secondary
#46B96A
accent
#E87440
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #871D66

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

Preview Lab → · Contrast checker → · Palette generator →

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