#871E54#871E54

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

Color values

HEX#871E54
RGBrgb(135, 30, 84)
HSLhsl(329, 64%, 32%)
HSVhsv(329, 78%, 53%)
CMYKcmyk(0%, 77.8%, 37.8%, 47.1%)
CIE-LABlab(31.16, 47.94, -5.96)
CIE-LCHlch(31.16, 48.31, 352.91°)
OKLaboklab(42.61% 0.1472 -0.0151)
OKLCHoklch(42.61% 0.148 354.1)
XYZxyz(12.0570, 6.7210, 9.0481)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E54 #1E8751
analogous
#861E87 #871E54 #871E20
triadic
#871E54 #54871E #1E5487
tetradic
#871E54 #87861E #1E8751 #1E2087
square
#871E54 #87861E #1E8751 #1E2087
split-complementary
#871E54 #20871E #1E8786
monochromatic
#230816 #551335 #871E54 #B92973 #D74992

Accessibility & contrast

On white

8.96
#871E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E54
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E54#FFFFFF#000000##FFFFFF
##871E541.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D55
Deuteranopia (green-blind)
#505052
Tritanopia (blue-blind)
#921236
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e54;
/* rgb */ color: rgb(135, 30, 84);
/* oklch */ color: oklch(42.6% 0.148 354.1);
Tailwind
colors: {
  custom: {
    50: '#ae6584',
    500: '#871e54',
    950: '#000000',
  },
}
SCSS
$custom: #871e54;
$custom-light: #ae6584;
$custom-dark: #000000;
JSON
{
  "hex": "#871e54",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 329.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.14795,
    "h": 354.1
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#871E54
secondary
#48B97F
accent
#E79241
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871E54

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

Preview Lab → · Contrast checker → · Palette generator →

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