#871C6F#871C6F

#871C6F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.166 H 339.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#871C6F
RGBrgb(135, 28, 111)
HSLhsl(313, 66%, 32%)
HSVhsv(313, 79%, 53%)
CMYKcmyk(0%, 79.3%, 17.8%, 47.1%)
CIE-LABlab(32.10, 52.09, -21.97)
CIE-LCHlch(32.10, 56.54, 337.13°)
OKLaboklab(43.67% 0.1549 -0.0595)
OKLCHoklch(43.67% 0.166 339)
XYZxyz(13.2765, 7.1304, 15.7129)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C6F #1C8734
analogous
#6A1C87 #871C6F #871C3A
triadic
#871C6F #6F871C #1C6F87
tetradic
#871C6F #876A1C #1C8734 #1C3A87
square
#871C6F #876A1C #1C8734 #1C3A87
split-complementary
#871C6F #3A871C #1C876A
monochromatic
#22071C #541145 #871C6F #BA2799 #D845B7

Accessibility & contrast

On white

8.66
#871C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C6F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C6F#FFFFFF#000000##FFFFFF
##871C6F1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#47516D
Tritanopia (blue-blind)
#8F2144
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871c6f;
/* rgb */ color: rgb(135, 28, 111);
/* oklch */ color: oklch(43.7% 0.166 339.0);
Tailwind
colors: {
  custom: {
    50: '#ae6598',
    500: '#871c6f',
    950: '#000000',
  },
}
SCSS
$custom: #871c6f;
$custom-light: #ae6598;
$custom-dark: #000000;
JSON
{
  "hex": "#871c6f",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 313.458,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.16596,
    "h": 339
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#871C6F
secondary
#45BA5F
accent
#E9653F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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