#871E56#871E56

#871E56 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.149 H 352.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#871E56
RGBrgb(135, 30, 86)
HSLhsl(328, 64%, 32%)
HSVhsv(328, 78%, 53%)
CMYKcmyk(0%, 77.8%, 36.3%, 47.1%)
CIE-LABlab(31.24, 48.17, -7.16)
CIE-LCHlch(31.24, 48.70, 351.55°)
OKLaboklab(42.69% 0.1478 -0.0184)
OKLCHoklch(42.69% 0.149 352.9)
XYZxyz(12.1364, 6.7528, 9.4666)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E56 #1E874F
analogous
#831E87 #871E56 #871E22
triadic
#871E56 #56871E #1E5687
tetradic
#871E56 #87831E #1E874F #1E2287
square
#871E56 #87831E #1E874F #1E2287
split-complementary
#871E56 #22871E #1E8783
monochromatic
#230816 #551336 #871E56 #B92976 #D74994

Accessibility & contrast

On white

8.94
#871E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E56
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E56#FFFFFF#000000##FFFFFF
##871E561.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D57
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#921437
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e56;
/* rgb */ color: rgb(135, 30, 86);
/* oklch */ color: oklch(42.7% 0.149 352.9);
Tailwind
colors: {
  custom: {
    50: '#ae6585',
    500: '#871e56',
    950: '#000000',
  },
}
SCSS
$custom: #871e56;
$custom-light: #ae6585;
$custom-dark: #000000;
JSON
{
  "hex": "#871e56",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 328,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.1489,
    "h": 352.9
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#871E56
secondary
#48B97D
accent
#E78E41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871E56

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

Preview Lab → · Contrast checker → · Palette generator →

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