#871E5F#871E5F

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

Color values

HEX#871E5F
RGBrgb(135, 30, 95)
HSLhsl(323, 64%, 32%)
HSVhsv(323, 78%, 53%)
CMYKcmyk(0%, 77.8%, 29.6%, 47.1%)
CIE-LABlab(31.59, 49.27, -12.47)
CIE-LCHlch(31.59, 50.82, 345.79°)
OKLaboklab(43.07% 0.1501 -0.0329)
OKLCHoklch(43.07% 0.154 347.6)
XYZxyz(12.5221, 6.9071, 11.4980)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E5F #1E8746
analogous
#7A1E87 #871E5F #871E2B
triadic
#871E5F #5F871E #1E5F87
tetradic
#871E5F #877A1E #1E8746 #1E2B87
square
#871E5F #877A1E #1E8746 #1E2B87
split-complementary
#871E5F #2B871E #1E877A
monochromatic
#230819 #55133C #871E5F #B92982 #D749A1

Accessibility & contrast

On white

8.82
#871E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#871E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E5F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E5F#FFFFFF#000000##FFFFFF
##871E5F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#91193C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e5f;
/* rgb */ color: rgb(135, 30, 95);
/* oklch */ color: oklch(43.1% 0.154 347.6);
Tailwind
colors: {
  custom: {
    50: '#ae658c',
    500: '#871e5f',
    950: '#000000',
  },
}
SCSS
$custom: #871e5f;
$custom-light: #ae658c;
$custom-dark: #000000;
JSON
{
  "hex": "#871e5f",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 322.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.15368,
    "h": 347.6
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#871E5F
secondary
#48B973
accent
#E78041
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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