#871E6B#871E6B

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

Color values

HEX#871E6B
RGBrgb(135, 30, 107)
HSLhsl(316, 64%, 32%)
HSVhsv(316, 78%, 53%)
CMYKcmyk(0%, 77.8%, 20.7%, 47.1%)
CIE-LABlab(32.13, 50.89, -19.38)
CIE-LCHlch(32.13, 54.45, 339.16°)
OKLaboklab(43.63% 0.1525 -0.0522)
OKLCHoklch(43.63% 0.161 341.1)
XYZxyz(13.1102, 7.1423, 14.5952)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E6B #1E873A
analogous
#6F1E87 #871E6B #871E37
triadic
#871E6B #6B871E #1E6B87
tetradic
#871E6B #876F1E #1E873A #1E3787
square
#871E6B #876F1E #1E873A #1E3787
split-complementary
#871E6B #37871E #1E876F
monochromatic
#23081C #551343 #871E6B #B92993 #D749B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871E6B#FFFFFF#000000##FFFFFF
##871E6B1.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)
#27416D
Deuteranopia (green-blind)
#495269
Tritanopia (blue-blind)
#902042
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871e6b;
/* rgb */ color: rgb(135, 30, 107);
/* oklch */ color: oklch(43.6% 0.161 341.1);
Tailwind
colors: {
  custom: {
    50: '#ae6695',
    500: '#871e6b',
    950: '#000000',
  },
}
SCSS
$custom: #871e6b;
$custom-light: #ae6695;
$custom-dark: #000000;
JSON
{
  "hex": "#871e6b",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 316,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.16114,
    "h": 341.1
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#871E6B
secondary
#48B966
accent
#E76D41
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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