#871E55#871E55

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

Color values

HEX#871E55
RGBrgb(135, 30, 85)
HSLhsl(329, 64%, 32%)
HSVhsv(329, 78%, 53%)
CMYKcmyk(0%, 77.8%, 37%, 47.1%)
CIE-LABlab(31.20, 48.05, -6.56)
CIE-LCHlch(31.20, 48.50, 352.23°)
OKLaboklab(42.65% 0.1475 -0.0168)
OKLCHoklch(42.65% 0.148 353.5)
XYZxyz(12.0964, 6.7368, 9.2559)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E55 #1E8750
analogous
#841E87 #871E55 #871E21
triadic
#871E55 #55871E #1E5587
tetradic
#871E55 #87841E #1E8750 #1E2187
square
#871E55 #87841E #1E8750 #1E2187
split-complementary
#871E55 #21871E #1E8784
monochromatic
#230816 #551335 #871E55 #B92975 #D74993

Accessibility & contrast

On white

8.95
#871E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E55
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E55#FFFFFF#000000##FFFFFF
##871E551.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D56
Deuteranopia (green-blind)
#505053
Tritanopia (blue-blind)
#921337
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e55;
/* rgb */ color: rgb(135, 30, 85);
/* oklch */ color: oklch(42.6% 0.148 353.5);
Tailwind
colors: {
  custom: {
    50: '#ae6584',
    500: '#871e55',
    950: '#000000',
  },
}
SCSS
$custom: #871e55;
$custom-light: #ae6584;
$custom-dark: #000000;
JSON
{
  "hex": "#871e55",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 328.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.14841,
    "h": 353.5
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#871E55
secondary
#48B97E
accent
#E79041
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871E55

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

Preview Lab → · Contrast checker → · Palette generator →

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