#871A56#871A56

#871A56 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 352.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#871A56
RGBrgb(135, 26, 86)
HSLhsl(327, 68%, 32%)
HSVhsv(327, 81%, 53%)
CMYKcmyk(0%, 80.7%, 36.3%, 47.1%)
CIE-LABlab(30.79, 49.44, -7.83)
CIE-LCHlch(30.79, 50.05, 351.00°)
OKLaboklab(42.36% 0.1518 -0.0202)
OKLCHoklch(42.36% 0.153 352.4)
XYZxyz(12.0415, 6.5631, 9.4350)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A56 #1A874B
analogous
#821A87 #871A56 #871A20
triadic
#871A56 #56871A #1A5687
tetradic
#871A56 #87821A #1A874B #1A2087
square
#871A56 #87821A #1A874B #1A2087
split-complementary
#871A56 #20871A #1A8782
monochromatic
#200615 #541035 #871A56 #BA2477 #DA4195

Accessibility & contrast

On white

9.08
#871A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A56
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A56#FFFFFF#000000##FFFFFF
##871A561.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C58
Deuteranopia (green-blind)
#4E5054
Tritanopia (blue-blind)
#920E36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a56;
/* rgb */ color: rgb(135, 26, 86);
/* oklch */ color: oklch(42.4% 0.153 352.4);
Tailwind
colors: {
  custom: {
    50: '#ae6385',
    500: '#871a56',
    950: '#000000',
  },
}
SCSS
$custom: #871a56;
$custom-light: #ae6385;
$custom-dark: #000000;
JSON
{
  "hex": "#871a56",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 326.972,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42363,
    "c": 0.1531,
    "h": 352.4
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#871A56
secondary
#42BA78
accent
#EB8B3D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871A56

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

Preview Lab → · Contrast checker → · Palette generator →

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