#871E63#871E63

#871E63 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.156 H 345.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#871E63
RGBrgb(135, 30, 99)
HSLhsl(321, 64%, 32%)
HSVhsv(321, 78%, 53%)
CMYKcmyk(0%, 77.8%, 26.7%, 47.1%)
CIE-LABlab(31.77, 49.79, -14.80)
CIE-LCHlch(31.77, 51.94, 343.45°)
OKLaboklab(43.25% 0.151 -0.0393)
OKLCHoklch(43.25% 0.156 345.4)
XYZxyz(12.7086, 6.9817, 12.4803)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E63 #1E8742
analogous
#761E87 #871E63 #871E2F
triadic
#871E63 #63871E #1E6387
tetradic
#871E63 #87761E #1E8742 #1E2F87
square
#871E63 #87761E #1E8742 #1E2F87
split-complementary
#871E63 #2F871E #1E8776
monochromatic
#23081A #55133E #871E63 #B92988 #D749A6

Accessibility & contrast

On white

8.76
#871E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E63
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E63#FFFFFF#000000##FFFFFF
##871E631.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F65
Deuteranopia (green-blind)
#4C5161
Tritanopia (blue-blind)
#901C3E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871e63;
/* rgb */ color: rgb(135, 30, 99);
/* oklch */ color: oklch(43.2% 0.156 345.4);
Tailwind
colors: {
  custom: {
    50: '#ae658f',
    500: '#871e63',
    950: '#000000',
  },
}
SCSS
$custom: #871e63;
$custom-light: #ae658f;
$custom-dark: #000000;
JSON
{
  "hex": "#871e63",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 320.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.15604,
    "h": 345.4
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#871E63
secondary
#48B96F
accent
#E77A41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871E63

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

Preview Lab → · Contrast checker → · Palette generator →

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