#871C74#871C74

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

Color values

HEX#871C74
RGBrgb(135, 28, 116)
HSLhsl(311, 66%, 32%)
HSVhsv(311, 79%, 53%)
CMYKcmyk(0%, 79.3%, 14.1%, 47.1%)
CIE-LABlab(32.36, 52.83, -24.75)
CIE-LCHlch(32.36, 58.34, 334.90°)
OKLaboklab(43.94% 0.1554 -0.0675)
OKLCHoklch(43.94% 0.169 336.5)
XYZxyz(13.5596, 7.2436, 17.2036)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C74 #1C872F
analogous
#651C87 #871C74 #871C3F
triadic
#871C74 #74871C #1C7487
tetradic
#871C74 #87651C #1C872F #1C3F87
square
#871C74 #87651C #1C872F #1C3F87
split-complementary
#871C74 #3F871C #1C8765
monochromatic
#22071D #541148 #871C74 #BA27A0 #D845BE

Accessibility & contrast

On white

8.58
#871C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C74
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C74#FFFFFF#000000##FFFFFF
##871C741.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c74;
/* rgb */ color: rgb(135, 28, 116);
/* oklch */ color: oklch(43.9% 0.169 336.5);
Tailwind
colors: {
  custom: {
    50: '#ae659c',
    500: '#871c74',
    950: '#000000',
  },
}
SCSS
$custom: #871c74;
$custom-light: #ae659c;
$custom-dark: #000000;
JSON
{
  "hex": "#871c74",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 310.654,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.16945,
    "h": 336.5
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#871C74
secondary
#45BA5A
accent
#E95D3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871C74

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

Preview Lab → · Contrast checker → · Palette generator →

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