#871F5D#871F5D

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

Color values

HEX#871F5D
RGBrgb(135, 31, 93)
HSLhsl(324, 63%, 33%)
HSVhsv(324, 77%, 53%)
CMYKcmyk(0%, 77%, 31.1%, 47.1%)
CIE-LABlab(31.63, 48.68, -11.12)
CIE-LCHlch(31.63, 49.94, 347.13°)
OKLaboklab(43.07% 0.1486 -0.0292)
OKLCHoklch(43.07% 0.151 348.9)
XYZxyz(12.4581, 6.9226, 11.0339)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F5D #1F8749
analogous
#7D1F87 #871F5D #871F29
triadic
#871F5D #5D871F #1F5D87
tetradic
#871F5D #877D1F #1F8749 #1F2987
square
#871F5D #877D1F #1F8749 #1F2987
split-complementary
#871F5D #29871F #1F877D
monochromatic
#230818 #55143B #871F5D #B92A7F #D64B9E

Accessibility & contrast

On white

8.81
#871F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F5D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F5D#FFFFFF#000000##FFFFFF
##871F5D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F5F
Deuteranopia (green-blind)
#4E515B
Tritanopia (blue-blind)
#91193B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f5d;
/* rgb */ color: rgb(135, 31, 93);
/* oklch */ color: oklch(43.1% 0.151 348.9);
Tailwind
colors: {
  custom: {
    50: '#ae668b',
    500: '#871f5d',
    950: '#000000',
  },
}
SCSS
$custom: #871f5d;
$custom-light: #ae668b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f5d",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 324.231,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43065,
    "c": 0.15143,
    "h": 348.9
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#871F5D
secondary
#4AB876
accent
#E68442
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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