#871D6D#871D6D

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

Color values

HEX#871D6D
RGBrgb(135, 29, 109)
HSLhsl(315, 65%, 32%)
HSVhsv(315, 79%, 53%)
CMYKcmyk(0%, 78.5%, 19.3%, 47.1%)
CIE-LABlab(32.11, 51.49, -20.68)
CIE-LCHlch(32.11, 55.49, 338.12°)
OKLaboklab(43.65% 0.1537 -0.0559)
OKLCHoklch(43.65% 0.164 340)
XYZxyz(13.1917, 7.1351, 15.1475)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D6D #1D8737
analogous
#6C1D87 #871D6D #871D38
triadic
#871D6D #6D871D #1D6D87
tetradic
#871D6D #876C1D #1D8737 #1D3887
square
#871D6D #876C1D #1D8737 #1D3887
split-complementary
#871D6D #38871D #1D876C
monochromatic
#22071C #551244 #871D6D #B92896 #D747B4

Accessibility & contrast

On white

8.65
#871D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D6D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D6D#FFFFFF#000000##FFFFFF
##871D6D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#48526B
Tritanopia (blue-blind)
#8F2143
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871d6d;
/* rgb */ color: rgb(135, 29, 109);
/* oklch */ color: oklch(43.6% 0.164 340.0);
Tailwind
colors: {
  custom: {
    50: '#ae6597',
    500: '#871d6d',
    950: '#000000',
  },
}
SCSS
$custom: #871d6d;
$custom-light: #ae6597;
$custom-dark: #000000;
JSON
{
  "hex": "#871d6d",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 314.717,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.16356,
    "h": 340
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#871D6D
secondary
#46B963
accent
#E86940
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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