#871C4F#871C4F

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

Color values

HEX#871C4F
RGBrgb(135, 28, 79)
HSLhsl(331, 66%, 32%)
HSVhsv(331, 79%, 53%)
CMYKcmyk(0%, 79.3%, 41.5%, 47.1%)
CIE-LABlab(30.75, 48.04, -3.29)
CIE-LCHlch(30.75, 48.15, 356.09°)
OKLaboklab(42.25% 0.1477 -0.008)
OKLCHoklch(42.25% 0.148 356.9)
XYZxyz(11.8191, 6.5474, 8.0370)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C4F #1C8754
analogous
#871C85 #871C4F #871F1C
triadic
#871C4F #4F871C #1C4F87
tetradic
#871C4F #85871C #1C8754 #1F1C87
square
#871C4F #85871C #1C8754 #1F1C87
split-complementary
#871C4F #1C871F #1C8587
monochromatic
#220714 #541131 #871C4F #BA276D #D8458B

Accessibility & contrast

On white

9.09
#871C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C4F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C4F#FFFFFF#000000##FFFFFF
##871C4F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#50504D
Tritanopia (blue-blind)
#920B33
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c4f;
/* rgb */ color: rgb(135, 28, 79);
/* oklch */ color: oklch(42.3% 0.148 356.9);
Tailwind
colors: {
  custom: {
    50: '#af6480',
    500: '#871c4f',
    950: '#000000',
  },
}
SCSS
$custom: #871c4f;
$custom-light: #af6480;
$custom-dark: #000000;
JSON
{
  "hex": "#871c4f",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 331.402,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.1479,
    "h": 356.9
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#871C4F
secondary
#45BA82
accent
#E9983F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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