#871C6B#871C6B

#871C6B is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.163 H 341.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#871C6B
RGBrgb(135, 28, 107)
HSLhsl(316, 66%, 32%)
HSVhsv(316, 79%, 53%)
CMYKcmyk(0%, 79.3%, 20.7%, 47.1%)
CIE-LABlab(31.91, 51.52, -19.72)
CIE-LCHlch(31.91, 55.17, 339.06°)
OKLaboklab(43.47% 0.1544 -0.0531)
OKLCHoklch(43.47% 0.163 341)
XYZxyz(13.0612, 7.0443, 14.5789)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C6B #1C8738
analogous
#6E1C87 #871C6B #871C36
triadic
#871C6B #6B871C #1C6B87
tetradic
#871C6B #876E1C #1C8738 #1C3687
square
#871C6B #876E1C #1C8738 #1C3687
split-complementary
#871C6B #36871C #1C876E
monochromatic
#22071B #541143 #871C6B #BA2793 #D845B2

Accessibility & contrast

On white

8.72
#871C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C6B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C6B#FFFFFF#000000##FFFFFF
##871C6B1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406D
Deuteranopia (green-blind)
#485169
Tritanopia (blue-blind)
#901F42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871c6b;
/* rgb */ color: rgb(135, 28, 107);
/* oklch */ color: oklch(43.5% 0.163 341.0);
Tailwind
colors: {
  custom: {
    50: '#ae6595',
    500: '#871c6b',
    950: '#000000',
  },
}
SCSS
$custom: #871c6b;
$custom-light: #ae6595;
$custom-dark: #000000;
JSON
{
  "hex": "#871c6b",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 315.701,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.16327,
    "h": 341
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#871C6B
secondary
#45BA63
accent
#E96C3F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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