#871D74#871D74

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

Color values

HEX#871D74
RGBrgb(135, 29, 116)
HSLhsl(311, 65%, 32%)
HSVhsv(311, 79%, 53%)
CMYKcmyk(0%, 78.5%, 14.1%, 47.1%)
CIE-LABlab(32.46, 52.52, -24.58)
CIE-LCHlch(32.46, 57.99, 334.92°)
OKLaboklab(44.01% 0.1545 -0.067)
OKLCHoklch(44.01% 0.168 336.6)
XYZxyz(13.5837, 7.2919, 17.2117)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D74 #1D8730
analogous
#651D87 #871D74 #871D3F
triadic
#871D74 #74871D #1D7487
tetradic
#871D74 #87651D #1D8730 #1D3F87
square
#871D74 #87651D #1D8730 #1D3F87
split-complementary
#871D74 #3F871D #1D8765
monochromatic
#22071D #551249 #871D74 #B9289F #D747BE

Accessibility & contrast

On white

8.54
#871D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D74
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D74#FFFFFF#000000##FFFFFF
##871D741.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#8E2547
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871d74;
/* rgb */ color: rgb(135, 29, 116);
/* oklch */ color: oklch(44.0% 0.168 336.6);
Tailwind
colors: {
  custom: {
    50: '#ae669c',
    500: '#871d74',
    950: '#000000',
  },
}
SCSS
$custom: #871d74;
$custom-light: #ae669c;
$custom-dark: #000000;
JSON
{
  "hex": "#871d74",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 310.755,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44014,
    "c": 0.16843,
    "h": 336.6
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#871D74
secondary
#46B95B
accent
#E85E40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871D74

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

Preview Lab → · Contrast checker → · Palette generator →

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