#871C51#871C51

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

Color values

HEX#871C51
RGBrgb(135, 28, 81)
HSLhsl(330, 66%, 32%)
HSVhsv(330, 79%, 53%)
CMYKcmyk(0%, 79.3%, 40%, 47.1%)
CIE-LABlab(30.82, 48.26, -4.50)
CIE-LCHlch(30.82, 48.47, 354.67°)
OKLaboklab(42.33% 0.1483 -0.0112)
OKLCHoklch(42.33% 0.149 355.7)
XYZxyz(11.8930, 6.5770, 8.4262)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C51 #1C8752
analogous
#871C87 #871C51 #871C1C
triadic
#871C51 #51871C #1C5187
tetradic
#871C51 #87871C #1C8752 #1C1C87
square
#871C51 #87871C #1C8752 #1C1C87
split-complementary
#871C51 #1C871C #1C8787
monochromatic
#220714 #541133 #871C51 #BA276F #D8458E

Accessibility & contrast

On white

9.07
#871C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C51
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C51#FFFFFF#000000##FFFFFF
##871C511.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C52
Deuteranopia (green-blind)
#50504F
Tritanopia (blue-blind)
#920D34
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c51;
/* rgb */ color: rgb(135, 28, 81);
/* oklch */ color: oklch(42.3% 0.149 355.7);
Tailwind
colors: {
  custom: {
    50: '#af6481',
    500: '#871c51',
    950: '#000000',
  },
}
SCSS
$custom: #871c51;
$custom-light: #af6481;
$custom-dark: #000000;
JSON
{
  "hex": "#871c51",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 330.28,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42327,
    "c": 0.14875,
    "h": 355.7
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#871C51
secondary
#45BA80
accent
#E9953F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871C51

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

Preview Lab → · Contrast checker → · Palette generator →

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