#871C6A#871C6A

#871C6A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.163 H 341.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#871C6A
RGBrgb(135, 28, 106)
HSLhsl(316, 66%, 32%)
HSVhsv(316, 79%, 53%)
CMYKcmyk(0%, 79.3%, 21.5%, 47.1%)
CIE-LABlab(31.86, 51.38, -19.15)
CIE-LCHlch(31.86, 54.83, 339.56°)
OKLaboklab(43.42% 0.1542 -0.0515)
OKLCHoklch(43.42% 0.163 341.5)
XYZxyz(13.0089, 7.0234, 14.3034)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C6A #1C8739
analogous
#6F1C87 #871C6A #871C34
triadic
#871C6A #6A871C #1C6A87
tetradic
#871C6A #876F1C #1C8739 #1C3487
square
#871C6A #876F1C #1C8739 #1C3487
split-complementary
#871C6A #34871C #1C876F
monochromatic
#22071A #541142 #871C6A #BA2792 #D845B0

Accessibility & contrast

On white

8.73
#871C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C6A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C6A#FFFFFF#000000##FFFFFF
##871C6A1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#495168
Tritanopia (blue-blind)
#901E41
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871c6a;
/* rgb */ color: rgb(135, 28, 106);
/* oklch */ color: oklch(43.4% 0.163 341.5);
Tailwind
colors: {
  custom: {
    50: '#ae6595',
    500: '#871c6a',
    950: '#000000',
  },
}
SCSS
$custom: #871c6a;
$custom-light: #ae6595;
$custom-dark: #000000;
JSON
{
  "hex": "#871c6a",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 316.262,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.16261,
    "h": 341.5
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#871C6A
secondary
#45BA65
accent
#E96D3F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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