#871A57#871A57

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

Color values

HEX#871A57
RGBrgb(135, 26, 87)
HSLhsl(326, 68%, 32%)
HSVhsv(326, 81%, 53%)
CMYKcmyk(0%, 80.7%, 35.6%, 47.1%)
CIE-LABlab(30.83, 49.55, -8.43)
CIE-LCHlch(30.83, 50.26, 350.35°)
OKLaboklab(42.4% 0.1521 -0.0218)
OKLCHoklch(42.4% 0.154 351.9)
XYZxyz(12.0821, 6.5793, 9.6487)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A57 #1A874A
analogous
#811A87 #871A57 #871A21
triadic
#871A57 #57871A #1A5787
tetradic
#871A57 #87811A #1A874A #1A2187
square
#871A57 #87811A #1A874A #1A2187
split-complementary
#871A57 #21871A #1A8781
monochromatic
#200615 #541036 #871A57 #BA2478 #DA4197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A57#FFFFFF#000000##FFFFFF
##871A571.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)
#2F3C59
Deuteranopia (green-blind)
#4E5055
Tritanopia (blue-blind)
#920F36
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871a57;
/* rgb */ color: rgb(135, 26, 87);
/* oklch */ color: oklch(42.4% 0.154 351.9);
Tailwind
colors: {
  custom: {
    50: '#ae6386',
    500: '#871a57',
    950: '#000000',
  },
}
SCSS
$custom: #871a57;
$custom-light: #ae6386;
$custom-dark: #000000;
JSON
{
  "hex": "#871a57",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 326.422,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.1536,
    "h": 351.9
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#871A57
secondary
#42BA77
accent
#EB8A3D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871A57

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

Preview Lab → · Contrast checker → · Palette generator →

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