#871C6E#871C6E

#871C6E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.165 H 339.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#871C6E
RGBrgb(135, 28, 110)
HSLhsl(314, 66%, 32%)
HSVhsv(314, 79%, 53%)
CMYKcmyk(0%, 79.3%, 18.5%, 47.1%)
CIE-LABlab(32.05, 51.95, -21.41)
CIE-LCHlch(32.05, 56.19, 337.60°)
OKLaboklab(43.62% 0.1548 -0.0579)
OKLCHoklch(43.62% 0.165 339.5)
XYZxyz(13.2218, 7.1085, 15.4246)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C6E #1C8735
analogous
#6B1C87 #871C6E #871C38
triadic
#871C6E #6E871C #1C6E87
tetradic
#871C6E #876B1C #1C8735 #1C3887
square
#871C6E #876B1C #1C8735 #1C3887
split-complementary
#871C6E #38871C #1C876B
monochromatic
#22071B #541145 #871C6E #BA2797 #D845B6

Accessibility & contrast

On white

8.67
#871C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C6E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C6E#FFFFFF#000000##FFFFFF
##871C6E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234170
Deuteranopia (green-blind)
#47516C
Tritanopia (blue-blind)
#8F2143
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871c6e;
/* rgb */ color: rgb(135, 28, 110);
/* oklch */ color: oklch(43.6% 0.165 339.5);
Tailwind
colors: {
  custom: {
    50: '#ae6598',
    500: '#871c6e',
    950: '#000000',
  },
}
SCSS
$custom: #871c6e;
$custom-light: #ae6598;
$custom-dark: #000000;
JSON
{
  "hex": "#871c6e",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 314.019,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.16529,
    "h": 339.5
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#871C6E
secondary
#45BA60
accent
#E9673F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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