#871A54#871A54

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

Color values

HEX#871A54
RGBrgb(135, 26, 84)
HSLhsl(328, 68%, 32%)
HSVhsv(328, 81%, 53%)
CMYKcmyk(0%, 80.7%, 37.8%, 47.1%)
CIE-LABlab(30.72, 49.21, -6.63)
CIE-LCHlch(30.72, 49.65, 352.33°)
OKLaboklab(42.28% 0.1512 -0.0169)
OKLCHoklch(42.28% 0.152 353.6)
XYZxyz(11.9621, 6.5313, 9.0165)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A54 #1A874D
analogous
#841A87 #871A54 #871A1E
triadic
#871A54 #54871A #1A5487
tetradic
#871A54 #87841A #1A874D #1A1E87
square
#871A54 #87841A #1A874D #1A1E87
split-complementary
#871A54 #1E871A #1A8784
monochromatic
#200614 #541034 #871A54 #BA2474 #DA4193

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A54#FFFFFF#000000##FFFFFF
##871A541.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)
#303C55
Deuteranopia (green-blind)
#4F4F52
Tritanopia (blue-blind)
#920C35
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a54;
/* rgb */ color: rgb(135, 26, 84);
/* oklch */ color: oklch(42.3% 0.152 353.6);
Tailwind
colors: {
  custom: {
    50: '#ae6384',
    500: '#871a54',
    950: '#000000',
  },
}
SCSS
$custom: #871a54;
$custom-light: #ae6384;
$custom-dark: #000000;
JSON
{
  "hex": "#871a54",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 328.073,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.15214,
    "h": 353.6
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#871A54
secondary
#42BA7B
accent
#EB8E3D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871A54

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

Preview Lab → · Contrast checker → · Palette generator →

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