#871F54#871F54

#871F54 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.147 H 354.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#871F54
RGBrgb(135, 31, 84)
HSLhsl(329, 63%, 33%)
HSVhsv(329, 77%, 53%)
CMYKcmyk(0%, 77%, 37.8%, 47.1%)
CIE-LABlab(31.28, 47.60, -5.78)
CIE-LCHlch(31.28, 47.95, 353.08°)
OKLaboklab(42.7% 0.1461 -0.0147)
OKLCHoklch(42.7% 0.147 354.3)
XYZxyz(12.0827, 6.7724, 9.0567)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F54 #1F8752
analogous
#861F87 #871F54 #871F20
triadic
#871F54 #54871F #1F5487
tetradic
#871F54 #87861F #1F8752 #1F2087
square
#871F54 #87861F #1F8752 #1F2087
split-complementary
#871F54 #20871F #1F8786
monochromatic
#230816 #551435 #871F54 #B92A73 #D64B92

Accessibility & contrast

On white

8.92
#871F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F54
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F54#FFFFFF#000000##FFFFFF
##871F541.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D55
Deuteranopia (green-blind)
#505152
Tritanopia (blue-blind)
#921437
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f54;
/* rgb */ color: rgb(135, 31, 84);
/* oklch */ color: oklch(42.7% 0.147 354.3);
Tailwind
colors: {
  custom: {
    50: '#ae6584',
    500: '#871f54',
    950: '#000000',
  },
}
SCSS
$custom: #871f54;
$custom-light: #ae6584;
$custom-dark: #000000;
JSON
{
  "hex": "#871f54",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 329.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.14682,
    "h": 354.3
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#871F54
secondary
#4AB880
accent
#E69242
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871F54

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

Preview Lab → · Contrast checker → · Palette generator →

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