#871D6E#871D6E

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

Color values

HEX#871D6E
RGBrgb(135, 29, 110)
HSLhsl(314, 65%, 32%)
HSVhsv(314, 79%, 53%)
CMYKcmyk(0%, 78.5%, 18.5%, 47.1%)
CIE-LABlab(32.16, 51.64, -21.24)
CIE-LCHlch(32.16, 55.84, 337.64°)
OKLaboklab(43.7% 0.1539 -0.0575)
OKLCHoklch(43.7% 0.164 339.5)
XYZxyz(13.2459, 7.1567, 15.4326)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D6E #1D8736
analogous
#6B1D87 #871D6E #871D39
triadic
#871D6E #6E871D #1D6E87
tetradic
#871D6E #876B1D #1D8736 #1D3987
square
#871D6E #876B1D #1D8736 #1D3987
split-complementary
#871D6E #39871D #1D876B
monochromatic
#22071C #551245 #871D6E #B92897 #D747B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D6E#FFFFFF#000000##FFFFFF
##871D6E1.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)
#244170
Deuteranopia (green-blind)
#48526C
Tritanopia (blue-blind)
#8F2144
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871d6e;
/* rgb */ color: rgb(135, 29, 110);
/* oklch */ color: oklch(43.7% 0.164 339.5);
Tailwind
colors: {
  custom: {
    50: '#ae6598',
    500: '#871d6e',
    950: '#000000',
  },
}
SCSS
$custom: #871d6e;
$custom-light: #ae6598;
$custom-dark: #000000;
JSON
{
  "hex": "#871d6e",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 314.151,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.16424,
    "h": 339.5
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#871D6E
secondary
#46B962
accent
#E86840
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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