#871E53#871E53

#871E53 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.147 H 354.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#871E53
RGBrgb(135, 30, 83)
HSLhsl(330, 64%, 32%)
HSVhsv(330, 78%, 53%)
CMYKcmyk(0%, 77.8%, 38.5%, 47.1%)
CIE-LABlab(31.13, 47.83, -5.36)
CIE-LCHlch(31.13, 48.13, 353.61°)
OKLaboklab(42.57% 0.1469 -0.0135)
OKLCHoklch(42.57% 0.147 354.7)
XYZxyz(12.0181, 6.7055, 8.8433)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E53 #1E8752
analogous
#861E87 #871E53 #871E1F
triadic
#871E53 #53871E #1E5387
tetradic
#871E53 #87861E #1E8752 #1E1F87
square
#871E53 #87861E #1E8752 #1E1F87
split-complementary
#871E53 #1F871E #1E8786
monochromatic
#230815 #551334 #871E53 #B92972 #D74990

Accessibility & contrast

On white

8.97
#871E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E53
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E53#FFFFFF#000000##FFFFFF
##871E531.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D54
Deuteranopia (green-blind)
#505051
Tritanopia (blue-blind)
#921236
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e53;
/* rgb */ color: rgb(135, 30, 83);
/* oklch */ color: oklch(42.6% 0.147 354.7);
Tailwind
colors: {
  custom: {
    50: '#ae6583',
    500: '#871e53',
    950: '#000000',
  },
}
SCSS
$custom: #871e53;
$custom-light: #ae6583;
$custom-dark: #000000;
JSON
{
  "hex": "#871e53",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 329.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42572,
    "c": 0.14748,
    "h": 354.7
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#871E53
secondary
#48B980
accent
#E79341
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871E53

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

Preview Lab → · Contrast checker → · Palette generator →

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