#871D5F#871D5F

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

Color values

HEX#871D5F
RGBrgb(135, 29, 95)
HSLhsl(323, 65%, 32%)
HSVhsv(323, 79%, 53%)
CMYKcmyk(0%, 78.5%, 29.6%, 47.1%)
CIE-LABlab(31.48, 49.60, -12.65)
CIE-LCHlch(31.48, 51.18, 345.69°)
OKLaboklab(42.98% 0.1511 -0.0334)
OKLCHoklch(42.98% 0.155 347.6)
XYZxyz(12.4972, 6.8573, 11.4897)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D5F #1D8745
analogous
#7A1D87 #871D5F #871D2A
triadic
#871D5F #5F871D #1D5F87
tetradic
#871D5F #877A1D #1D8745 #1D2A87
square
#871D5F #877A1D #1D8745 #1D2A87
split-complementary
#871D5F #2A871D #1D877A
monochromatic
#220718 #55123C #871D5F #B92882 #D747A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D5F#FFFFFF#000000##FFFFFF
##871D5F1.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)
#2D3E61
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#91183B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871d5f;
/* rgb */ color: rgb(135, 29, 95);
/* oklch */ color: oklch(43.0% 0.155 347.6);
Tailwind
colors: {
  custom: {
    50: '#ae658c',
    500: '#871d5f',
    950: '#000000',
  },
}
SCSS
$custom: #871d5f;
$custom-light: #ae658c;
$custom-dark: #000000;
JSON
{
  "hex": "#871d5f",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 322.642,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.15478,
    "h": 347.6
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#871D5F
secondary
#46B972
accent
#E87F40
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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