#871F5C#871F5C

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

Color values

HEX#871F5C
RGBrgb(135, 31, 92)
HSLhsl(325, 63%, 33%)
HSVhsv(325, 77%, 53%)
CMYKcmyk(0%, 77%, 31.9%, 47.1%)
CIE-LABlab(31.59, 48.56, -10.54)
CIE-LCHlch(31.59, 49.69, 347.76°)
OKLaboklab(43.02% 0.1483 -0.0276)
OKLCHoklch(43.02% 0.151 349.5)
XYZxyz(12.4141, 6.9050, 10.8022)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F5C #1F874A
analogous
#7E1F87 #871F5C #871F28
triadic
#871F5C #5C871F #1F5C87
tetradic
#871F5C #877E1F #1F874A #1F2887
square
#871F5C #877E1F #1F874A #1F2887
split-complementary
#871F5C #28871F #1F877E
monochromatic
#230818 #55143A #871F5C #B92A7E #D64B9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871F5C#FFFFFF#000000##FFFFFF
##871F5C1.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)
#303F5E
Deuteranopia (green-blind)
#4E515A
Tritanopia (blue-blind)
#91193B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f5c;
/* rgb */ color: rgb(135, 31, 92);
/* oklch */ color: oklch(43.0% 0.151 349.5);
Tailwind
colors: {
  custom: {
    50: '#ae668a',
    500: '#871f5c',
    950: '#000000',
  },
}
SCSS
$custom: #871f5c;
$custom-light: #ae668a;
$custom-dark: #000000;
JSON
{
  "hex": "#871f5c",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 324.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.15088,
    "h": 349.5
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#871F5C
secondary
#4AB877
accent
#E68642
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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