#871C4E#871C4E

#871C4E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.147 H 357.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#871C4E
RGBrgb(135, 28, 78)
HSLhsl(332, 66%, 32%)
HSVhsv(332, 79%, 53%)
CMYKcmyk(0%, 79.3%, 42.2%, 47.1%)
CIE-LABlab(30.72, 47.94, -2.68)
CIE-LCHlch(30.72, 48.01, 356.80°)
OKLaboklab(42.22% 0.1474 -0.0064)
OKLCHoklch(42.22% 0.147 357.5)
XYZxyz(11.7829, 6.5330, 7.8468)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C4E #1C8755
analogous
#871C84 #871C4E #87201C
triadic
#871C4E #4E871C #1C4E87
tetradic
#871C4E #84871C #1C8755 #201C87
square
#871C4E #84871C #1C8755 #201C87
split-complementary
#871C4E #1C8720 #1C8487
monochromatic
#220713 #541131 #871C4E #BA276B #D8458A

Accessibility & contrast

On white

9.11
#871C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C4E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C4E#FFFFFF#000000##FFFFFF
##871C4E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#930A32
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c4e;
/* rgb */ color: rgb(135, 28, 78);
/* oklch */ color: oklch(42.2% 0.147 357.5);
Tailwind
colors: {
  custom: {
    50: '#af647f',
    500: '#871c4e',
    950: '#000000',
  },
}
SCSS
$custom: #871c4e;
$custom-light: #af647f;
$custom-dark: #000000;
JSON
{
  "hex": "#871c4e",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 331.963,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.14749,
    "h": 357.5
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#871C4E
secondary
#45BA83
accent
#E9993F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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