#871E57#871E57

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

Color values

HEX#871E57
RGBrgb(135, 30, 87)
HSLhsl(327, 64%, 32%)
HSVhsv(327, 78%, 53%)
CMYKcmyk(0%, 77.8%, 35.6%, 47.1%)
CIE-LABlab(31.28, 48.29, -7.75)
CIE-LCHlch(31.28, 48.91, 350.88°)
OKLaboklab(42.73% 0.148 -0.02)
OKLCHoklch(42.73% 0.149 352.3)
XYZxyz(12.1770, 6.7690, 9.6803)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E57 #1E874E
analogous
#831E87 #871E57 #871E22
triadic
#871E57 #57871E #1E5787
tetradic
#871E57 #87831E #1E874E #1E2287
square
#871E57 #87831E #1E874E #1E2287
split-complementary
#871E57 #22871E #1E8783
monochromatic
#230816 #551337 #871E57 #B92977 #D74996

Accessibility & contrast

On white

8.92
#871E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E57
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E57#FFFFFF#000000##FFFFFF
##871E571.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D58
Deuteranopia (green-blind)
#4F5055
Tritanopia (blue-blind)
#921438
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e57;
/* rgb */ color: rgb(135, 30, 87);
/* oklch */ color: oklch(42.7% 0.149 352.3);
Tailwind
colors: {
  custom: {
    50: '#ae6586',
    500: '#871e57',
    950: '#000000',
  },
}
SCSS
$custom: #871e57;
$custom-light: #ae6586;
$custom-dark: #000000;
JSON
{
  "hex": "#871e57",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 327.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.14938,
    "h": 352.3
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#871E57
secondary
#48B97C
accent
#E78D41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871E57

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

Preview Lab → · Contrast checker → · Palette generator →

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