#871F5B#871F5B

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

Color values

HEX#871F5B
RGBrgb(135, 31, 91)
HSLhsl(325, 63%, 33%)
HSVhsv(325, 77%, 53%)
CMYKcmyk(0%, 77%, 32.6%, 47.1%)
CIE-LABlab(31.55, 48.43, -9.95)
CIE-LCHlch(31.55, 49.44, 348.40°)
OKLaboklab(42.98% 0.1481 -0.0259)
OKLCHoklch(42.98% 0.15 350.1)
XYZxyz(12.3707, 6.8876, 10.5735)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F5B #1F874B
analogous
#7F1F87 #871F5B #871F27
triadic
#871F5B #5B871F #1F5B87
tetradic
#871F5B #877F1F #1F874B #1F2787
square
#871F5B #877F1F #1F874B #1F2787
split-complementary
#871F5B #27871F #1F877F
monochromatic
#230818 #551439 #871F5B #B92A7D #D64B9B

Accessibility & contrast

On white

8.83
#871F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F5B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F5B#FFFFFF#000000##FFFFFF
##871F5B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5D
Deuteranopia (green-blind)
#4E5159
Tritanopia (blue-blind)
#91183A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f5b;
/* rgb */ color: rgb(135, 31, 91);
/* oklch */ color: oklch(43.0% 0.150 350.1);
Tailwind
colors: {
  custom: {
    50: '#ae6689',
    500: '#871f5b',
    950: '#000000',
  },
}
SCSS
$custom: #871f5b;
$custom-light: #ae6689;
$custom-dark: #000000;
JSON
{
  "hex": "#871f5b",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 325.385,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.15033,
    "h": 350.1
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#871F5B
secondary
#4AB878
accent
#E68742
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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