#871F5A#871F5A

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

Color values

HEX#871F5A
RGBrgb(135, 31, 90)
HSLhsl(326, 63%, 33%)
HSVhsv(326, 77%, 53%)
CMYKcmyk(0%, 77%, 33.3%, 47.1%)
CIE-LABlab(31.51, 48.31, -9.36)
CIE-LCHlch(31.51, 49.21, 349.04°)
OKLaboklab(42.94% 0.1478 -0.0243)
OKLCHoklch(42.94% 0.15 350.7)
XYZxyz(12.3278, 6.8705, 10.3478)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F5A #1F874C
analogous
#801F87 #871F5A #871F26
triadic
#871F5A #5A871F #1F5A87
tetradic
#871F5A #87801F #1F874C #1F2687
square
#871F5A #87801F #1F874C #1F2687
split-complementary
#871F5A #26871F #1F8780
monochromatic
#230818 #551439 #871F5A #B92A7B #D64B9A

Accessibility & contrast

On white

8.85
#871F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F5A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F5A#FFFFFF#000000##FFFFFF
##871F5A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5C
Deuteranopia (green-blind)
#4F5158
Tritanopia (blue-blind)
#91173A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f5a;
/* rgb */ color: rgb(135, 31, 90);
/* oklch */ color: oklch(42.9% 0.150 350.7);
Tailwind
colors: {
  custom: {
    50: '#ae6688',
    500: '#871f5a',
    950: '#000000',
  },
}
SCSS
$custom: #871f5a;
$custom-light: #ae6688;
$custom-dark: #000000;
JSON
{
  "hex": "#871f5a",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 325.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.1498,
    "h": 350.7
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#871F5A
secondary
#4AB879
accent
#E68942
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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