#871E68#871E68

#871E68 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.159 H 342.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#871E68
RGBrgb(135, 30, 104)
HSLhsl(318, 64%, 32%)
HSVhsv(318, 78%, 53%)
CMYKcmyk(0%, 77.8%, 23%, 47.1%)
CIE-LABlab(31.99, 50.47, -17.67)
CIE-LCHlch(31.99, 53.47, 340.70°)
OKLaboklab(43.48% 0.152 -0.0474)
OKLCHoklch(43.48% 0.159 342.7)
XYZxyz(12.9551, 7.0803, 13.7784)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E68 #1E873D
analogous
#711E87 #871E68 #871E34
triadic
#871E68 #68871E #1E6887
tetradic
#871E68 #87711E #1E873D #1E3487
square
#871E68 #87711E #1E873D #1E3487
split-complementary
#871E68 #34871E #1E8771
monochromatic
#23081B #551341 #871E68 #B9298F #D749AD

Accessibility & contrast

On white

8.69
#871E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E68
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E68#FFFFFF#000000##FFFFFF
##871E681.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#4A5166
Tritanopia (blue-blind)
#901F41
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871e68;
/* rgb */ color: rgb(135, 30, 104);
/* oklch */ color: oklch(43.5% 0.159 342.7);
Tailwind
colors: {
  custom: {
    50: '#ae6693',
    500: '#871e68',
    950: '#000000',
  },
}
SCSS
$custom: #871e68;
$custom-light: #ae6693;
$custom-dark: #000000;
JSON
{
  "hex": "#871e68",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 317.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.15917,
    "h": 342.7
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#871E68
secondary
#48B969
accent
#E77241
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871E68

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

Preview Lab → · Contrast checker → · Palette generator →

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