#871C62#871C62

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

Color values

HEX#871C62
RGBrgb(135, 28, 98)
HSLhsl(321, 66%, 32%)
HSVhsv(321, 79%, 53%)
CMYKcmyk(0%, 79.3%, 27.4%, 47.1%)
CIE-LABlab(31.50, 50.30, -14.56)
CIE-LCHlch(31.50, 52.37, 343.85°)
OKLaboklab(43.04% 0.1528 -0.0387)
OKLCHoklch(43.04% 0.158 345.8)
XYZxyz(12.6121, 6.8647, 12.2137)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C62 #1C8741
analogous
#771C87 #871C62 #871C2C
triadic
#871C62 #62871C #1C6287
tetradic
#871C62 #87771C #1C8741 #1C2C87
square
#871C62 #87771C #1C8741 #1C2C87
split-complementary
#871C62 #2C871C #1C8777
monochromatic
#220718 #54113D #871C62 #BA2787 #D845A5

Accessibility & contrast

On white

8.85
#871C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C62
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C62#FFFFFF#000000##FFFFFF
##871C621.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3F64
Deuteranopia (green-blind)
#4B5160
Tritanopia (blue-blind)
#91193D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871c62;
/* rgb */ color: rgb(135, 28, 98);
/* oklch */ color: oklch(43.0% 0.158 345.8);
Tailwind
colors: {
  custom: {
    50: '#ae658e',
    500: '#871c62',
    950: '#000000',
  },
}
SCSS
$custom: #871c62;
$custom-light: #ae658e;
$custom-dark: #000000;
JSON
{
  "hex": "#871c62",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 320.748,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.1576,
    "h": 345.8
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#871C62
secondary
#45BA6D
accent
#E97A3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871C62

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

Preview Lab → · Contrast checker → · Palette generator →

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