#871E73#871E73

#871E73 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.167 H 337.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#871E73
RGBrgb(135, 30, 115)
HSLhsl(311, 64%, 32%)
HSVhsv(311, 78%, 53%)
CMYKcmyk(0%, 77.8%, 14.8%, 47.1%)
CIE-LABlab(32.52, 52.06, -23.86)
CIE-LCHlch(32.52, 57.27, 335.38°)
OKLaboklab(44.04% 0.1535 -0.0649)
OKLCHoklch(44.04% 0.167 337.1)
XYZxyz(13.5507, 7.3185, 16.9153)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E73 #1E8732
analogous
#671E87 #871E73 #871E3E
triadic
#871E73 #73871E #1E7387
tetradic
#871E73 #87671E #1E8732 #1E3E87
square
#871E73 #87671E #1E8732 #1E3E87
split-complementary
#871E73 #3E871E #1E8767
monochromatic
#23081E #551348 #871E73 #B9299E #D749BC

Accessibility & contrast

On white

8.52
#871E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#871E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E73
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E73#FFFFFF#000000##FFFFFF
##871E731.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#8E2547
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871e73;
/* rgb */ color: rgb(135, 30, 115);
/* oklch */ color: oklch(44.0% 0.167 337.1);
Tailwind
colors: {
  custom: {
    50: '#ad669b',
    500: '#871e73',
    950: '#000000',
  },
}
SCSS
$custom: #871e73;
$custom-light: #ad669b;
$custom-dark: #000000;
JSON
{
  "hex": "#871e73",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 311.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.16666,
    "h": 337.1
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#871E73
secondary
#48B95D
accent
#E76141
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871E73

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

Preview Lab → · Contrast checker → · Palette generator →

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