#871C68#871C68

#871C68 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.161 H 342.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#871C68
RGBrgb(135, 28, 104)
HSLhsl(317, 66%, 32%)
HSVhsv(317, 79%, 53%)
CMYKcmyk(0%, 79.3%, 23%, 47.1%)
CIE-LABlab(31.77, 51.10, -18.01)
CIE-LCHlch(31.77, 54.19, 340.58°)
OKLaboklab(43.32% 0.1539 -0.0483)
OKLCHoklch(43.32% 0.161 342.6)
XYZxyz(12.9061, 6.9822, 13.7620)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C68 #1C873B
analogous
#711C87 #871C68 #871C33
triadic
#871C68 #68871C #1C6887
tetradic
#871C68 #87711C #1C873B #1C3387
square
#871C68 #87711C #1C873B #1C3387
split-complementary
#871C68 #33871C #1C8771
monochromatic
#22071A #541141 #871C68 #BA278F #D845AE

Accessibility & contrast

On white

8.76
#871C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C68
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C68#FFFFFF#000000##FFFFFF
##871C681.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28406A
Deuteranopia (green-blind)
#495166
Tritanopia (blue-blind)
#901D40
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871c68;
/* rgb */ color: rgb(135, 28, 104);
/* oklch */ color: oklch(43.3% 0.161 342.6);
Tailwind
colors: {
  custom: {
    50: '#ae6593',
    500: '#871c68',
    950: '#000000',
  },
}
SCSS
$custom: #871c68;
$custom-light: #ae6593;
$custom-dark: #000000;
JSON
{
  "hex": "#871c68",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 317.383,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.16132,
    "h": 342.6
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#871C68
secondary
#45BA67
accent
#E9703F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871C68

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

Preview Lab → · Contrast checker → · Palette generator →

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