#871C71#871C71

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

Color values

HEX#871C71
RGBrgb(135, 28, 113)
HSLhsl(312, 66%, 32%)
HSVhsv(312, 79%, 53%)
CMYKcmyk(0%, 79.3%, 16.3%, 47.1%)
CIE-LABlab(32.20, 52.39, -23.09)
CIE-LCHlch(32.20, 57.25, 336.22°)
OKLaboklab(43.78% 0.1552 -0.0627)
OKLCHoklch(43.78% 0.167 338)
XYZxyz(13.3879, 7.1750, 16.2994)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C71 #1C8732
analogous
#671C87 #871C71 #871C3C
triadic
#871C71 #71871C #1C7187
tetradic
#871C71 #87671C #1C8732 #1C3C87
square
#871C71 #87671C #1C8732 #1C3C87
split-complementary
#871C71 #3C871C #1C8767
monochromatic
#22071C #541147 #871C71 #BA279B #D845BA

Accessibility & contrast

On white

8.62
#871C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#871C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C71
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C71#FFFFFF#000000##FFFFFF
##871C711.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c71;
/* rgb */ color: rgb(135, 28, 113);
/* oklch */ color: oklch(43.8% 0.167 338.0);
Tailwind
colors: {
  custom: {
    50: '#ae659a',
    500: '#871c71',
    950: '#000000',
  },
}
SCSS
$custom: #871c71;
$custom-light: #ae659a;
$custom-dark: #000000;
JSON
{
  "hex": "#871c71",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 312.336,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43777,
    "c": 0.16734,
    "h": 338
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#871C71
secondary
#45BA5D
accent
#E9623F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871C71

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

Preview Lab → · Contrast checker → · Palette generator →

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