#871C6D#871C6D

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

Color values

HEX#871C6D
RGBrgb(135, 28, 109)
HSLhsl(315, 66%, 32%)
HSVhsv(315, 79%, 53%)
CMYKcmyk(0%, 79.3%, 19.3%, 47.1%)
CIE-LABlab(32.00, 51.80, -20.85)
CIE-LCHlch(32.00, 55.84, 338.08°)
OKLaboklab(43.57% 0.1547 -0.0563)
OKLCHoklch(43.57% 0.165 340)
XYZxyz(13.1676, 7.0869, 15.1395)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C6D #1C8736
analogous
#6B1C87 #871C6D #871C38
triadic
#871C6D #6D871C #1C6D87
tetradic
#871C6D #876B1C #1C8736 #1C3887
square
#871C6D #876B1C #1C8736 #1C3887
split-complementary
#871C6D #38871C #1C876B
monochromatic
#22071B #541144 #871C6D #BA2796 #D845B5

Accessibility & contrast

On white

8.69
#871C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C6D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C6D#FFFFFF#000000##FFFFFF
##871C6D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406F
Deuteranopia (green-blind)
#48516B
Tritanopia (blue-blind)
#8F2043
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871c6d;
/* rgb */ color: rgb(135, 28, 109);
/* oklch */ color: oklch(43.6% 0.165 340.0);
Tailwind
colors: {
  custom: {
    50: '#ae6597',
    500: '#871c6d',
    950: '#000000',
  },
}
SCSS
$custom: #871c6d;
$custom-light: #ae6597;
$custom-dark: #000000;
JSON
{
  "hex": "#871c6d",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 314.579,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.16461,
    "h": 340
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#871C6D
secondary
#45BA61
accent
#E9683F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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