#871E6F#871E6F

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

Color values

HEX#871E6F
RGBrgb(135, 30, 111)
HSLhsl(314, 64%, 32%)
HSVhsv(314, 78%, 53%)
CMYKcmyk(0%, 77.8%, 17.8%, 47.1%)
CIE-LABlab(32.32, 51.47, -21.63)
CIE-LCHlch(32.32, 55.83, 337.21°)
OKLaboklab(43.83% 0.153 -0.0586)
OKLCHoklch(43.83% 0.164 339.1)
XYZxyz(13.3255, 7.2284, 15.7293)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E6F #1E8736
analogous
#6A1E87 #871E6F #871E3B
triadic
#871E6F #6F871E #1E6F87
tetradic
#871E6F #876A1E #1E8736 #1E3B87
square
#871E6F #876A1E #1E8736 #1E3B87
split-complementary
#871E6F #3B871E #1E876A
monochromatic
#23081D #551346 #871E6F #B92998 #D749B6

Accessibility & contrast

On white

8.59
#871E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#871E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E6F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E6F#FFFFFF#000000##FFFFFF
##871E6F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244271
Deuteranopia (green-blind)
#48526D
Tritanopia (blue-blind)
#8F2344
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871e6f;
/* rgb */ color: rgb(135, 30, 111);
/* oklch */ color: oklch(43.8% 0.164 339.1);
Tailwind
colors: {
  custom: {
    50: '#ae6698',
    500: '#871e6f',
    950: '#000000',
  },
}
SCSS
$custom: #871e6f;
$custom-light: #ae6698;
$custom-dark: #000000;
JSON
{
  "hex": "#871e6f",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 313.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.16386,
    "h": 339.1
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#871E6F
secondary
#48B962
accent
#E76741
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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