#871E75#871E75

#871E75 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.168 H 336.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#871E75
RGBrgb(135, 30, 117)
HSLhsl(310, 64%, 32%)
HSVhsv(310, 78%, 53%)
CMYKcmyk(0%, 77.8%, 13.3%, 47.1%)
CIE-LABlab(32.62, 52.36, -24.96)
CIE-LCHlch(32.62, 58.01, 334.51°)
OKLaboklab(44.15% 0.1537 -0.0681)
OKLCHoklch(44.15% 0.168 336.1)
XYZxyz(13.6671, 7.3651, 17.5280)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E75 #1E8730
analogous
#651E87 #871E75 #871E40
triadic
#871E75 #75871E #1E7587
tetradic
#871E75 #87651E #1E8730 #1E4087
square
#871E75 #87651E #1E8730 #1E4087
split-complementary
#871E75 #40871E #1E8765
monochromatic
#23081E #55134A #871E75 #B929A0 #D749BE

Accessibility & contrast

On white

8.49
#871E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#871E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E75
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E75#FFFFFF#000000##FFFFFF
##871E751.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204377
Deuteranopia (green-blind)
#455273
Tritanopia (blue-blind)
#8E2648
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871e75;
/* rgb */ color: rgb(135, 30, 117);
/* oklch */ color: oklch(44.1% 0.168 336.1);
Tailwind
colors: {
  custom: {
    50: '#ad669d',
    500: '#871e75',
    950: '#000000',
  },
}
SCSS
$custom: #871e75;
$custom-light: #ad669d;
$custom-dark: #000000;
JSON
{
  "hex": "#871e75",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 310.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.16809,
    "h": 336.1
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#871E75
secondary
#48B95B
accent
#E75E41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E75

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

Preview Lab → · Contrast checker → · Palette generator →

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