#871C73#871C73

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

Color values

HEX#871C73
RGBrgb(135, 28, 115)
HSLhsl(311, 66%, 32%)
HSVhsv(311, 79%, 53%)
CMYKcmyk(0%, 79.3%, 14.8%, 47.1%)
CIE-LABlab(32.30, 52.68, -24.20)
CIE-LCHlch(32.30, 57.97, 335.33°)
OKLaboklab(43.88% 0.1553 -0.0659)
OKLCHoklch(43.88% 0.169 337)
XYZxyz(13.5017, 7.2205, 16.8990)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C73 #1C8730
analogous
#661C87 #871C73 #871C3E
triadic
#871C73 #73871C #1C7387
tetradic
#871C73 #87661C #1C8730 #1C3E87
square
#871C73 #87661C #1C8730 #1C3E87
split-complementary
#871C73 #3E871C #1C8766
monochromatic
#22071D #541148 #871C73 #BA279E #D845BD

Accessibility & contrast

On white

8.59
#871C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C73
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C73#FFFFFF#000000##FFFFFF
##871C731.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4275
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#8F2346
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871c73;
/* rgb */ color: rgb(135, 28, 115);
/* oklch */ color: oklch(43.9% 0.169 337.0);
Tailwind
colors: {
  custom: {
    50: '#ae659b',
    500: '#871c73',
    950: '#000000',
  },
}
SCSS
$custom: #871c73;
$custom-light: #ae659b;
$custom-dark: #000000;
JSON
{
  "hex": "#871c73",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 311.215,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43883,
    "c": 0.16875,
    "h": 337
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#871C73
secondary
#45BA5B
accent
#E95F3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871C73

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

Preview Lab → · Contrast checker → · Palette generator →

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