#871E70#871E70

#871E70 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.165 H 338.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#871E70
RGBrgb(135, 30, 112)
HSLhsl(313, 64%, 32%)
HSVhsv(313, 78%, 53%)
CMYKcmyk(0%, 77.8%, 17%, 47.1%)
CIE-LABlab(32.37, 51.61, -22.19)
CIE-LCHlch(32.37, 56.18, 336.74°)
OKLaboklab(43.88% 0.1532 -0.0602)
OKLCHoklch(43.88% 0.165 338.6)
XYZxyz(13.3809, 7.2506, 16.0209)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E70 #1E8735
analogous
#6A1E87 #871E70 #871E3B
triadic
#871E70 #70871E #1E7087
tetradic
#871E70 #876A1E #1E8735 #1E3B87
square
#871E70 #876A1E #1E8735 #1E3B87
split-complementary
#871E70 #3B871E #1E876A
monochromatic
#23081D #551346 #871E70 #B9299A #D749B7

Accessibility & contrast

On white

8.57
#871E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E70
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E70#FFFFFF#000000##FFFFFF
##871E701.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244272
Deuteranopia (green-blind)
#47526E
Tritanopia (blue-blind)
#8F2345
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871e70;
/* rgb */ color: rgb(135, 30, 112);
/* oklch */ color: oklch(43.9% 0.165 338.6);
Tailwind
colors: {
  custom: {
    50: '#ae6699',
    500: '#871e70',
    950: '#000000',
  },
}
SCSS
$custom: #871e70;
$custom-light: #ae6699;
$custom-dark: #000000;
JSON
{
  "hex": "#871e70",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 313.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.16455,
    "h": 338.6
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

primary
#871E70
secondary
#48B961
accent
#E76541
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E70

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

Preview Lab → · Contrast checker → · Palette generator →

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