#871C70#871C70

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

Color values

HEX#871C70
RGBrgb(135, 28, 112)
HSLhsl(313, 66%, 32%)
HSVhsv(313, 79%, 53%)
CMYKcmyk(0%, 79.3%, 17%, 47.1%)
CIE-LABlab(32.15, 52.24, -22.53)
CIE-LCHlch(32.15, 56.89, 336.67°)
OKLaboklab(43.72% 0.155 -0.0611)
OKLCHoklch(43.72% 0.167 338.5)
XYZxyz(13.3319, 7.1526, 16.0046)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C70 #1C8733
analogous
#691C87 #871C70 #871C3B
triadic
#871C70 #70871C #1C7087
tetradic
#871C70 #87691C #1C8733 #1C3B87
square
#871C70 #87691C #1C8733 #1C3B87
split-complementary
#871C70 #3B871C #1C8769
monochromatic
#22071C #541146 #871C70 #BA279A #D845B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C70#FFFFFF#000000##FFFFFF
##871C701.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)
#224172
Deuteranopia (green-blind)
#46526E
Tritanopia (blue-blind)
#8F2244
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871c70;
/* rgb */ color: rgb(135, 28, 112);
/* oklch */ color: oklch(43.7% 0.167 338.5);
Tailwind
colors: {
  custom: {
    50: '#ae6599',
    500: '#871c70',
    950: '#000000',
  },
}
SCSS
$custom: #871c70;
$custom-light: #ae6599;
$custom-dark: #000000;
JSON
{
  "hex": "#871c70",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 312.897,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.16665,
    "h": 338.5
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#871C70
secondary
#45BA5E
accent
#E9643F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871C70

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

Preview Lab → · Contrast checker → · Palette generator →

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