#871C64#871C64

#871C64 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.159 H 344.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#871C64
RGBrgb(135, 28, 100)
HSLhsl(320, 66%, 32%)
HSVhsv(320, 79%, 53%)
CMYKcmyk(0%, 79.3%, 25.9%, 47.1%)
CIE-LABlab(31.58, 50.56, -15.72)
CIE-LCHlch(31.58, 52.95, 342.73°)
OKLaboklab(43.13% 0.1532 -0.0419)
OKLCHoklch(43.13% 0.159 344.7)
XYZxyz(12.7077, 6.9029, 12.7173)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C64 #1C873F
analogous
#751C87 #871C64 #871C2F
triadic
#871C64 #64871C #1C6487
tetradic
#871C64 #87751C #1C873F #1C2F87
square
#871C64 #87751C #1C873F #1C2F87
split-complementary
#871C64 #2F871C #1C8775
monochromatic
#220719 #54113E #871C64 #BA278A #D845A8

Accessibility & contrast

On white

8.82
#871C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#871C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C64
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C64#FFFFFF#000000##FFFFFF
##871C641.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3F66
Deuteranopia (green-blind)
#4B5162
Tritanopia (blue-blind)
#901A3E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871c64;
/* rgb */ color: rgb(135, 28, 100);
/* oklch */ color: oklch(43.1% 0.159 344.7);
Tailwind
colors: {
  custom: {
    50: '#ae6590',
    500: '#871c64',
    950: '#000000',
  },
}
SCSS
$custom: #871c64;
$custom-light: #ae6590;
$custom-dark: #000000;
JSON
{
  "hex": "#871c64",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 319.626,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.1588,
    "h": 344.7
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#871C64
secondary
#45BA6B
accent
#E9773F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871C64

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

Preview Lab → · Contrast checker → · Palette generator →

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