#871D63#871D63

#871D63 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.157 H 345.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#871D63
RGBrgb(135, 29, 99)
HSLhsl(320, 65%, 32%)
HSVhsv(320, 79%, 53%)
CMYKcmyk(0%, 78.5%, 26.7%, 47.1%)
CIE-LABlab(31.65, 50.11, -14.97)
CIE-LCHlch(31.65, 52.30, 343.37°)
OKLaboklab(43.16% 0.152 -0.0398)
OKLCHoklch(43.16% 0.157 345.3)
XYZxyz(12.6837, 6.9319, 12.4720)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D63 #1D8741
analogous
#761D87 #871D63 #871D2E
triadic
#871D63 #63871D #1D6387
tetradic
#871D63 #87761D #1D8741 #1D2E87
square
#871D63 #87761D #1D8741 #1D2E87
split-complementary
#871D63 #2E871D #1D8776
monochromatic
#220719 #55123E #871D63 #B92888 #D747A6

Accessibility & contrast

On white

8.80
#871D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D63
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D63#FFFFFF#000000##FFFFFF
##871D631.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d63;
/* rgb */ color: rgb(135, 29, 99);
/* oklch */ color: oklch(43.2% 0.157 345.3);
Tailwind
colors: {
  custom: {
    50: '#ae658f',
    500: '#871d63',
    950: '#000000',
  },
}
SCSS
$custom: #871d63;
$custom-light: #ae658f;
$custom-dark: #000000;
JSON
{
  "hex": "#871d63",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 320.377,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.15714,
    "h": 345.3
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#871D63
secondary
#46B96D
accent
#E87940
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871D63

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

Preview Lab → · Contrast checker → · Palette generator →

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