#871E6D#871E6D

#871E6D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 340.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#871E6D
RGBrgb(135, 30, 109)
HSLhsl(315, 64%, 32%)
HSVhsv(315, 78%, 53%)
CMYKcmyk(0%, 77.8%, 19.3%, 47.1%)
CIE-LABlab(32.22, 51.18, -20.50)
CIE-LCHlch(32.22, 55.13, 338.17°)
OKLaboklab(43.73% 0.1528 -0.0554)
OKLCHoklch(43.73% 0.162 340.1)
XYZxyz(13.2166, 7.1849, 15.1558)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E6D #1E8738
analogous
#6C1E87 #871E6D #871E39
triadic
#871E6D #6D871E #1E6D87
tetradic
#871E6D #876C1E #1E8738 #1E3987
square
#871E6D #876C1E #1E8738 #1E3987
split-complementary
#871E6D #39871E #1E876C
monochromatic
#23081C #551345 #871E6D #B92995 #D749B3

Accessibility & contrast

On white

8.62
#871E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E6D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E6D#FFFFFF#000000##FFFFFF
##871E6D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#48526B
Tritanopia (blue-blind)
#8F2243
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871e6d;
/* rgb */ color: rgb(135, 30, 109);
/* oklch */ color: oklch(43.7% 0.162 340.1);
Tailwind
colors: {
  custom: {
    50: '#ae6697',
    500: '#871e6d',
    950: '#000000',
  },
}
SCSS
$custom: #871e6d;
$custom-light: #ae6697;
$custom-dark: #000000;
JSON
{
  "hex": "#871e6d",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 314.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.16249,
    "h": 340.1
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#871E6D
secondary
#48B964
accent
#E76A41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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