#871E6A#871E6A

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

Color values

HEX#871E6A
RGBrgb(135, 30, 106)
HSLhsl(317, 64%, 32%)
HSVhsv(317, 78%, 53%)
CMYKcmyk(0%, 77.8%, 21.5%, 47.1%)
CIE-LABlab(32.08, 50.75, -18.81)
CIE-LCHlch(32.08, 54.12, 339.66°)
OKLaboklab(43.58% 0.1523 -0.0506)
OKLCHoklch(43.58% 0.16 341.6)
XYZxyz(13.0579, 7.1214, 14.3198)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E6A #1E873B
analogous
#6F1E87 #871E6A #871E36
triadic
#871E6A #6A871E #1E6A87
tetradic
#871E6A #876F1E #1E873B #1E3687
square
#871E6A #876F1E #1E873B #1E3687
split-complementary
#871E6A #36871E #1E876F
monochromatic
#23081B #551343 #871E6A #B92991 #D749AF

Accessibility & contrast

On white

8.66
#871E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E6A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E6A#FFFFFF#000000##FFFFFF
##871E6A1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#495268
Tritanopia (blue-blind)
#902042
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871e6a;
/* rgb */ color: rgb(135, 30, 106);
/* oklch */ color: oklch(43.6% 0.160 341.6);
Tailwind
colors: {
  custom: {
    50: '#ae6694',
    500: '#871e6a',
    950: '#000000',
  },
}
SCSS
$custom: #871e6a;
$custom-light: #ae6694;
$custom-dark: #000000;
JSON
{
  "hex": "#871e6a",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 316.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43579,
    "c": 0.16048,
    "h": 341.6
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#871E6A
secondary
#48B967
accent
#E76F41
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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