#871D71#871D71

#871D71 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.166 H 338.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#871D71
RGBrgb(135, 29, 113)
HSLhsl(312, 65%, 32%)
HSVhsv(312, 79%, 53%)
CMYKcmyk(0%, 78.5%, 16.3%, 47.1%)
CIE-LABlab(32.31, 52.08, -22.92)
CIE-LCHlch(32.31, 56.90, 336.25°)
OKLaboklab(43.85% 0.1542 -0.0622)
OKLCHoklch(43.85% 0.166 338)
XYZxyz(13.4120, 7.2232, 16.3074)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D71 #1D8733
analogous
#681D87 #871D71 #871D3C
triadic
#871D71 #71871D #1D7187
tetradic
#871D71 #87681D #1D8733 #1D3C87
square
#871D71 #87681D #1D8733 #1D3C87
split-complementary
#871D71 #3C871D #1D8768
monochromatic
#22071D #551247 #871D71 #B9289B #D747B9

Accessibility & contrast

On white

8.59
#871D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#871D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D71
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D71#FFFFFF#000000##FFFFFF
##871D711.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#46526F
Tritanopia (blue-blind)
#8F2345
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871d71;
/* rgb */ color: rgb(135, 29, 113);
/* oklch */ color: oklch(43.9% 0.166 338.0);
Tailwind
colors: {
  custom: {
    50: '#ae669a',
    500: '#871d71',
    950: '#000000',
  },
}
SCSS
$custom: #871d71;
$custom-light: #ae669a;
$custom-dark: #000000;
JSON
{
  "hex": "#871d71",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 312.453,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.16631,
    "h": 338
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#871D71
secondary
#46B95E
accent
#E86340
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871D71

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

Preview Lab → · Contrast checker → · Palette generator →

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