#871E5C#871E5C

#871E5C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.152 H 349.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#871E5C
RGBrgb(135, 30, 92)
HSLhsl(325, 64%, 32%)
HSVhsv(325, 78%, 53%)
CMYKcmyk(0%, 77.8%, 31.9%, 47.1%)
CIE-LABlab(31.47, 48.89, -10.71)
CIE-LCHlch(31.47, 50.05, 347.64°)
OKLaboklab(42.94% 0.1494 -0.028)
OKLCHoklch(42.94% 0.152 349.4)
XYZxyz(12.3884, 6.8536, 10.7936)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E5C #1E8749
analogous
#7D1E87 #871E5C #871E28
triadic
#871E5C #5C871E #1E5C87
tetradic
#871E5C #877D1E #1E8749 #1E2887
square
#871E5C #877D1E #1E8749 #1E2887
split-complementary
#871E5C #28871E #1E877D
monochromatic
#230818 #55133A #871E5C #B9297E #D7499D

Accessibility & contrast

On white

8.86
#871E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E5C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E5C#FFFFFF#000000##FFFFFF
##871E5C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5E
Deuteranopia (green-blind)
#4E515A
Tritanopia (blue-blind)
#91183A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e5c;
/* rgb */ color: rgb(135, 30, 92);
/* oklch */ color: oklch(42.9% 0.152 349.4);
Tailwind
colors: {
  custom: {
    50: '#ae658a',
    500: '#871e5c',
    950: '#000000',
  },
}
SCSS
$custom: #871e5c;
$custom-light: #ae658a;
$custom-dark: #000000;
JSON
{
  "hex": "#871e5c",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 324.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42936,
    "c": 0.152,
    "h": 349.4
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#871E5C
secondary
#48B976
accent
#E78541
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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