#871B72#871B72

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

Color values

HEX#871B72
RGBrgb(135, 27, 114)
HSLhsl(312, 67%, 32%)
HSVhsv(312, 80%, 53%)
CMYKcmyk(0%, 80%, 15.6%, 47.1%)
CIE-LABlab(32.15, 52.83, -23.81)
CIE-LCHlch(32.15, 57.95, 335.74°)
OKLaboklab(43.76% 0.1562 -0.0648)
OKLCHoklch(43.76% 0.169 337.5)
XYZxyz(13.4212, 7.1510, 16.5898)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B72 #1B8730
analogous
#661B87 #871B72 #871B3C
triadic
#871B72 #72871B #1B7287
tetradic
#871B72 #87661B #1B8730 #1B3C87
square
#871B72 #87661B #1B8730 #1B3C87
split-complementary
#871B72 #3C871B #1B8766
monochromatic
#21071C #541147 #871B72 #BA259D #D943BC

Accessibility & contrast

On white

8.64
#871B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B72
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B72#FFFFFF#000000##FFFFFF
##871B721.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#455170
Tritanopia (blue-blind)
#8F2245
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871b72;
/* rgb */ color: rgb(135, 27, 114);
/* oklch */ color: oklch(43.8% 0.169 337.5);
Tailwind
colors: {
  custom: {
    50: '#ae659b',
    500: '#871b72',
    950: '#000000',
  },
}
SCSS
$custom: #871b72;
$custom-light: #ae659b;
$custom-dark: #000000;
JSON
{
  "hex": "#871b72",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 311.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43755,
    "c": 0.16905,
    "h": 337.5
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#871B72
secondary
#44BA5B
accent
#EA603E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871B72

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

Preview Lab → · Contrast checker → · Palette generator →

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