#871E6E#871E6E

#871E6E is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.163 H 339.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#871E6E
RGBrgb(135, 30, 110)
HSLhsl(314, 64%, 32%)
HSVhsv(314, 78%, 53%)
CMYKcmyk(0%, 77.8%, 18.5%, 47.1%)
CIE-LABlab(32.27, 51.32, -21.07)
CIE-LCHlch(32.27, 55.48, 337.68°)
OKLaboklab(43.78% 0.1529 -0.057)
OKLCHoklch(43.78% 0.163 339.6)
XYZxyz(13.2708, 7.2065, 15.4409)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E6E #1E8737
analogous
#6C1E87 #871E6E #871E39
triadic
#871E6E #6E871E #1E6E87
tetradic
#871E6E #876C1E #1E8737 #1E3987
square
#871E6E #876C1E #1E8737 #1E3987
split-complementary
#871E6E #39871E #1E876C
monochromatic
#23081C #551345 #871E6E #B92997 #D749B5

Accessibility & contrast

On white

8.60
#871E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#871E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E6E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E6E#FFFFFF#000000##FFFFFF
##871E6E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#48526C
Tritanopia (blue-blind)
#8F2244
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871e6e;
/* rgb */ color: rgb(135, 30, 110);
/* oklch */ color: oklch(43.8% 0.163 339.6);
Tailwind
colors: {
  custom: {
    50: '#ae6698',
    500: '#871e6e',
    950: '#000000',
  },
}
SCSS
$custom: #871e6e;
$custom-light: #ae6698;
$custom-dark: #000000;
JSON
{
  "hex": "#871e6e",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 314.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43779,
    "c": 0.16316,
    "h": 339.6
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#871E6E
secondary
#48B963
accent
#E76941
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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