#871E66#871E66

#871E66 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.158 H 343.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#871E66
RGBrgb(135, 30, 102)
HSLhsl(319, 64%, 32%)
HSVhsv(319, 78%, 53%)
CMYKcmyk(0%, 77.8%, 24.4%, 47.1%)
CIE-LABlab(31.90, 50.19, -16.53)
CIE-LCHlch(31.90, 52.85, 341.78°)
OKLaboklab(43.39% 0.1516 -0.0442)
OKLCHoklch(43.39% 0.158 343.8)
XYZxyz(12.8547, 7.0401, 13.2497)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E66 #1E873F
analogous
#731E87 #871E66 #871E32
triadic
#871E66 #66871E #1E6687
tetradic
#871E66 #87731E #1E873F #1E3287
square
#871E66 #87731E #1E873F #1E3287
split-complementary
#871E66 #32871E #1E8773
monochromatic
#23081A #551340 #871E66 #B9298C #D749AA

Accessibility & contrast

On white

8.72
#871E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E66
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E66#FFFFFF#000000##FFFFFF
##871E661.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#4B5164
Tritanopia (blue-blind)
#901E40
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871e66;
/* rgb */ color: rgb(135, 30, 102);
/* oklch */ color: oklch(43.4% 0.158 343.8);
Tailwind
colors: {
  custom: {
    50: '#ae6691',
    500: '#871e66',
    950: '#000000',
  },
}
SCSS
$custom: #871e66;
$custom-light: #ae6691;
$custom-dark: #000000;
JSON
{
  "hex": "#871e66",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 318.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43386,
    "c": 0.1579,
    "h": 343.8
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#871E66
secondary
#48B96B
accent
#E77541
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #871E66

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

Preview Lab → · Contrast checker → · Palette generator →

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