#871C72#871C72

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

Color values

HEX#871C72
RGBrgb(135, 28, 114)
HSLhsl(312, 66%, 32%)
HSVhsv(312, 79%, 53%)
CMYKcmyk(0%, 79.3%, 15.6%, 47.1%)
CIE-LABlab(32.25, 52.53, -23.64)
CIE-LCHlch(32.25, 57.61, 335.77°)
OKLaboklab(43.83% 0.1553 -0.0643)
OKLCHoklch(43.83% 0.168 337.5)
XYZxyz(13.4445, 7.1976, 16.5975)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C72 #1C8731
analogous
#671C87 #871C72 #871C3C
triadic
#871C72 #72871C #1C7287
tetradic
#871C72 #87671C #1C8731 #1C3C87
square
#871C72 #87671C #1C8731 #1C3C87
split-complementary
#871C72 #3C871C #1C8767
monochromatic
#22071C #541147 #871C72 #BA279D #D845BB

Accessibility & contrast

On white

8.61
#871C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C72
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C72#FFFFFF#000000##FFFFFF
##871C721.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#8F2345
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871c72;
/* rgb */ color: rgb(135, 28, 114);
/* oklch */ color: oklch(43.8% 0.168 337.5);
Tailwind
colors: {
  custom: {
    50: '#ae659b',
    500: '#871c72',
    950: '#000000',
  },
}
SCSS
$custom: #871c72;
$custom-light: #ae659b;
$custom-dark: #000000;
JSON
{
  "hex": "#871c72",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 311.776,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.16805,
    "h": 337.5
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#871C72
secondary
#45BA5C
accent
#E9603F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871C72

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

Preview Lab → · Contrast checker → · Palette generator →

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