#871D5E#871D5E

#871D5E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.154 H 348.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#871D5E
RGBrgb(135, 29, 94)
HSLhsl(323, 65%, 32%)
HSVhsv(323, 79%, 53%)
CMYKcmyk(0%, 78.5%, 30.4%, 47.1%)
CIE-LABlab(31.44, 49.47, -12.06)
CIE-LCHlch(31.44, 50.92, 346.29°)
OKLaboklab(42.94% 0.1509 -0.0317)
OKLCHoklch(42.94% 0.154 348.1)
XYZxyz(12.4521, 6.8392, 11.2519)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D5E #1D8746
analogous
#7B1D87 #871D5E #871D29
triadic
#871D5E #5E871D #1D5E87
tetradic
#871D5E #877B1D #1D8746 #1D2987
square
#871D5E #877B1D #1D8746 #1D2987
split-complementary
#871D5E #29871D #1D877B
monochromatic
#220718 #55123B #871D5E #B92881 #D747A0

Accessibility & contrast

On white

8.87
#871D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D5E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D5E#FFFFFF#000000##FFFFFF
##871D5E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#4D515C
Tritanopia (blue-blind)
#91183B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871d5e;
/* rgb */ color: rgb(135, 29, 94);
/* oklch */ color: oklch(42.9% 0.154 348.1);
Tailwind
colors: {
  custom: {
    50: '#ae658b',
    500: '#871d5e',
    950: '#000000',
  },
}
SCSS
$custom: #871d5e;
$custom-light: #ae658b;
$custom-dark: #000000;
JSON
{
  "hex": "#871d5e",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 323.208,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.1542,
    "h": 348.1
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#871D5E
secondary
#46B973
accent
#E88140
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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