#871C63#871C63

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

Color values

HEX#871C63
RGBrgb(135, 28, 99)
HSLhsl(320, 66%, 32%)
HSVhsv(320, 79%, 53%)
CMYKcmyk(0%, 79.3%, 26.7%, 47.1%)
CIE-LABlab(31.54, 50.43, -15.14)
CIE-LCHlch(31.54, 52.65, 343.29°)
OKLaboklab(43.08% 0.153 -0.0403)
OKLCHoklch(43.08% 0.158 345.2)
XYZxyz(12.6596, 6.8837, 12.4639)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C63 #1C8740
analogous
#761C87 #871C63 #871C2E
triadic
#871C63 #63871C #1C6387
tetradic
#871C63 #87761C #1C8740 #1C2E87
square
#871C63 #87761C #1C8740 #1C2E87
split-complementary
#871C63 #2E871C #1C8776
monochromatic
#220719 #54113E #871C63 #BA2788 #D845A7

Accessibility & contrast

On white

8.84
#871C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C63
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C63#FFFFFF#000000##FFFFFF
##871C631.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3F65
Deuteranopia (green-blind)
#4B5161
Tritanopia (blue-blind)
#901A3D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871c63;
/* rgb */ color: rgb(135, 28, 99);
/* oklch */ color: oklch(43.1% 0.158 345.2);
Tailwind
colors: {
  custom: {
    50: '#ae658f',
    500: '#871c63',
    950: '#000000',
  },
}
SCSS
$custom: #871c63;
$custom-light: #ae658f;
$custom-dark: #000000;
JSON
{
  "hex": "#871c63",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 320.187,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.1582,
    "h": 345.2
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#871C63
secondary
#45BA6C
accent
#E9783F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871C63

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

Preview Lab → · Contrast checker → · Palette generator →

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