#871C52#871C52

#871C52 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 355.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#871C52
RGBrgb(135, 28, 82)
HSLhsl(330, 66%, 32%)
HSVhsv(330, 79%, 53%)
CMYKcmyk(0%, 79.3%, 39.3%, 47.1%)
CIE-LABlab(30.86, 48.37, -5.10)
CIE-LCHlch(30.86, 48.64, 353.98°)
OKLaboklab(42.37% 0.1486 -0.0128)
OKLCHoklch(42.37% 0.149 355.1)
XYZxyz(11.9307, 6.5921, 8.6251)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C52 #1C8751
analogous
#871C87 #871C52 #871C1C
triadic
#871C52 #52871C #1C5287
tetradic
#871C52 #87871C #1C8751 #1C1C87
square
#871C52 #87871C #1C8751 #1C1C87
split-complementary
#871C52 #1C871C #1C8787
monochromatic
#220714 #541133 #871C52 #BA2771 #D8458F

Accessibility & contrast

On white

9.06
#871C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C52
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C52#FFFFFF#000000##FFFFFF
##871C521.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#920E34
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c52;
/* rgb */ color: rgb(135, 28, 82);
/* oklch */ color: oklch(42.4% 0.149 355.1);
Tailwind
colors: {
  custom: {
    50: '#ae6482',
    500: '#871c52',
    950: '#000000',
  },
}
SCSS
$custom: #871c52;
$custom-light: #ae6482;
$custom-dark: #000000;
JSON
{
  "hex": "#871c52",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 329.72,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.14918,
    "h": 355.1
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#871C52
secondary
#45BA7F
accent
#E9933F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871C52

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

Preview Lab → · Contrast checker → · Palette generator →

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