#871C50#871C50

#871C50 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 356.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#871C50
RGBrgb(135, 28, 80)
HSLhsl(331, 66%, 32%)
HSVhsv(331, 79%, 53%)
CMYKcmyk(0%, 79.3%, 40.7%, 47.1%)
CIE-LABlab(30.79, 48.15, -3.89)
CIE-LCHlch(30.79, 48.31, 355.38°)
OKLaboklab(42.29% 0.148 -0.0096)
OKLCHoklch(42.29% 0.148 356.3)
XYZxyz(11.8557, 6.5621, 8.2302)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C50 #1C8753
analogous
#871C86 #871C50 #871E1C
triadic
#871C50 #50871C #1C5087
tetradic
#871C50 #86871C #1C8753 #1E1C87
square
#871C50 #86871C #1C8753 #1E1C87
split-complementary
#871C50 #1C871E #1C8687
monochromatic
#220714 #541132 #871C50 #BA276E #D8458D

Accessibility & contrast

On white

9.08
#871C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C50
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C50#FFFFFF#000000##FFFFFF
##871C501.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C51
Deuteranopia (green-blind)
#50504E
Tritanopia (blue-blind)
#920C33
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c50;
/* rgb */ color: rgb(135, 28, 80);
/* oklch */ color: oklch(42.3% 0.148 356.3);
Tailwind
colors: {
  custom: {
    50: '#af6481',
    500: '#871c50',
    950: '#000000',
  },
}
SCSS
$custom: #871c50;
$custom-light: #af6481;
$custom-dark: #000000;
JSON
{
  "hex": "#871c50",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 330.841,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.14831,
    "h": 356.3
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#871C50
secondary
#45BA81
accent
#E9963F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871C50

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

Preview Lab → · Contrast checker → · Palette generator →

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