#871D72#871D72

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

Color values

HEX#871D72
RGBrgb(135, 29, 114)
HSLhsl(312, 65%, 32%)
HSVhsv(312, 79%, 53%)
CMYKcmyk(0%, 78.5%, 15.6%, 47.1%)
CIE-LABlab(32.36, 52.23, -23.48)
CIE-LCHlch(32.36, 57.26, 335.80°)
OKLaboklab(43.91% 0.1543 -0.0638)
OKLCHoklch(43.91% 0.167 337.5)
XYZxyz(13.4686, 7.2458, 16.6056)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D72 #1D8732
analogous
#671D87 #871D72 #871D3D
triadic
#871D72 #72871D #1D7287
tetradic
#871D72 #87671D #1D8732 #1D3D87
square
#871D72 #87671D #1D8732 #1D3D87
split-complementary
#871D72 #3D871D #1D8767
monochromatic
#22071D #551247 #871D72 #B9289D #D747BB

Accessibility & contrast

On white

8.57
#871D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D72
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D72#FFFFFF#000000##FFFFFF
##871D721.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d72;
/* rgb */ color: rgb(135, 29, 114);
/* oklch */ color: oklch(43.9% 0.167 337.5);
Tailwind
colors: {
  custom: {
    50: '#ae669b',
    500: '#871d72',
    950: '#000000',
  },
}
SCSS
$custom: #871d72;
$custom-light: #ae669b;
$custom-dark: #000000;
JSON
{
  "hex": "#871d72",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 311.887,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.16701,
    "h": 337.5
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#871D72
secondary
#46B95D
accent
#E86140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871D72

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

Preview Lab → · Contrast checker → · Palette generator →

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