#871D62#871D62

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

Color values

HEX#871D62
RGBrgb(135, 29, 98)
HSLhsl(321, 65%, 32%)
HSVhsv(321, 79%, 53%)
CMYKcmyk(0%, 78.5%, 27.4%, 47.1%)
CIE-LABlab(31.61, 49.98, -14.39)
CIE-LCHlch(31.61, 52.01, 343.93°)
OKLaboklab(43.12% 0.1518 -0.0382)
OKLCHoklch(43.12% 0.157 345.9)
XYZxyz(12.6362, 6.9129, 12.2218)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D62 #1D8742
analogous
#771D87 #871D62 #871D2D
triadic
#871D62 #62871D #1D6287
tetradic
#871D62 #87771D #1D8742 #1D2D87
square
#871D62 #87771D #1D8742 #1D2D87
split-complementary
#871D62 #2D871D #1D8777
monochromatic
#220719 #55123D #871D62 #B92887 #D747A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D62#FFFFFF#000000##FFFFFF
##871D621.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)
#2C3F64
Deuteranopia (green-blind)
#4C5160
Tritanopia (blue-blind)
#911A3D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871d62;
/* rgb */ color: rgb(135, 29, 98);
/* oklch */ color: oklch(43.1% 0.157 345.9);
Tailwind
colors: {
  custom: {
    50: '#ae658e',
    500: '#871d62',
    950: '#000000',
  },
}
SCSS
$custom: #871d62;
$custom-light: #ae658e;
$custom-dark: #000000;
JSON
{
  "hex": "#871d62",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 320.943,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.15653,
    "h": 345.9
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#871D62
secondary
#46B96F
accent
#E87B40
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871D62

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

Preview Lab → · Contrast checker → · Palette generator →

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