#871E52#871E52

#871E52 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.147 H 355.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#871E52
RGBrgb(135, 30, 82)
HSLhsl(330, 64%, 32%)
HSVhsv(330, 78%, 53%)
CMYKcmyk(0%, 77.8%, 39.3%, 47.1%)
CIE-LABlab(31.09, 47.71, -4.76)
CIE-LCHlch(31.09, 47.95, 354.31°)
OKLaboklab(42.53% 0.1466 -0.0119)
OKLCHoklch(42.53% 0.147 355.3)
XYZxyz(11.9797, 6.6901, 8.6415)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E52 #1E8753
analogous
#871E86 #871E52 #871F1E
triadic
#871E52 #52871E #1E5287
tetradic
#871E52 #86871E #1E8753 #1F1E87
square
#871E52 #86871E #1E8753 #1F1E87
split-complementary
#871E52 #1E871F #1E8687
monochromatic
#230815 #551334 #871E52 #B92970 #D7498F

Accessibility & contrast

On white

8.98
#871E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E52
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E52#FFFFFF#000000##FFFFFF
##871E521.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#921135
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e52;
/* rgb */ color: rgb(135, 30, 82);
/* oklch */ color: oklch(42.5% 0.147 355.3);
Tailwind
colors: {
  custom: {
    50: '#ae6582',
    500: '#871e52',
    950: '#000000',
  },
}
SCSS
$custom: #871e52;
$custom-light: #ae6582;
$custom-dark: #000000;
JSON
{
  "hex": "#871e52",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 330.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.14704,
    "h": 355.3
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#871E52
secondary
#48B981
accent
#E79541
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871E52

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

Preview Lab → · Contrast checker → · Palette generator →

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