#871E71#871E71

#871E71 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 338.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#871E71
RGBrgb(135, 30, 113)
HSLhsl(313, 64%, 32%)
HSVhsv(313, 78%, 53%)
CMYKcmyk(0%, 77.8%, 16.3%, 47.1%)
CIE-LABlab(32.42, 51.76, -22.75)
CIE-LCHlch(32.42, 56.54, 336.28°)
OKLaboklab(43.93% 0.1533 -0.0618)
OKLCHoklch(43.93% 0.165 338.1)
XYZxyz(13.4369, 7.2730, 16.3158)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E71 #1E8734
analogous
#681E87 #871E71 #871E3D
triadic
#871E71 #71871E #1E7187
tetradic
#871E71 #87681E #1E8734 #1E3D87
square
#871E71 #87681E #1E8734 #1E3D87
split-complementary
#871E71 #3D871E #1E8768
monochromatic
#23081D #551347 #871E71 #B9299B #D749B9

Accessibility & contrast

On white

8.56
#871E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#871E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E71
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E71#FFFFFF#000000##FFFFFF
##871E711.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8F2445
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871e71;
/* rgb */ color: rgb(135, 30, 113);
/* oklch */ color: oklch(43.9% 0.165 338.1);
Tailwind
colors: {
  custom: {
    50: '#ad669a',
    500: '#871e71',
    950: '#000000',
  },
}
SCSS
$custom: #871e71;
$custom-light: #ad669a;
$custom-dark: #000000;
JSON
{
  "hex": "#871e71",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 312.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.16525,
    "h": 338.1
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#871E71
secondary
#48B960
accent
#E76441
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E71

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

Preview Lab → · Contrast checker → · Palette generator →

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