#871E72#871E72

#871E72 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.166 H 337.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#871E72
RGBrgb(135, 30, 114)
HSLhsl(312, 64%, 32%)
HSVhsv(312, 78%, 53%)
CMYKcmyk(0%, 77.8%, 15.6%, 47.1%)
CIE-LABlab(32.47, 51.91, -23.30)
CIE-LCHlch(32.47, 56.90, 335.82°)
OKLaboklab(43.99% 0.1534 -0.0633)
OKLCHoklch(43.99% 0.166 337.6)
XYZxyz(13.4935, 7.2956, 16.6139)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E72 #1E8733
analogous
#681E87 #871E72 #871E3E
triadic
#871E72 #72871E #1E7287
tetradic
#871E72 #87681E #1E8733 #1E3E87
square
#871E72 #87681E #1E8733 #1E3E87
split-complementary
#871E72 #3E871E #1E8768
monochromatic
#23081D #551348 #871E72 #B9299C #D749BA

Accessibility & contrast

On white

8.54
#871E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#871E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E72
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E72#FFFFFF#000000##FFFFFF
##871E721.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e72;
/* rgb */ color: rgb(135, 30, 114);
/* oklch */ color: oklch(44.0% 0.166 337.6);
Tailwind
colors: {
  custom: {
    50: '#ad669b',
    500: '#871e72',
    950: '#000000',
  },
}
SCSS
$custom: #871e72;
$custom-light: #ad669b;
$custom-dark: #000000;
JSON
{
  "hex": "#871e72",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 312,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43987,
    "c": 0.16594,
    "h": 337.6
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#871E72
secondary
#48B95F
accent
#E76241
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E72

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

Preview Lab → · Contrast checker → · Palette generator →

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