#871B59#871B59

#871B59 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 350.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#871B59
RGBrgb(135, 27, 89)
HSLhsl(326, 67%, 32%)
HSVhsv(326, 80%, 53%)
CMYKcmyk(0%, 80%, 34.1%, 47.1%)
CIE-LABlab(31.01, 49.49, -9.45)
CIE-LCHlch(31.01, 50.38, 349.18°)
OKLaboklab(42.56% 0.1516 -0.0246)
OKLCHoklch(42.56% 0.154 350.8)
XYZxyz(12.1875, 6.6575, 10.0925)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B59 #1B8749
analogous
#7F1B87 #871B59 #871B23
triadic
#871B59 #59871B #1B5987
tetradic
#871B59 #877F1B #1B8749 #1B2387
square
#871B59 #877F1B #1B8749 #1B2387
split-complementary
#871B59 #23871B #1B877F
monochromatic
#210716 #541137 #871B59 #BA257B #D94399

Accessibility & contrast

On white

9.01
#871B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B59
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B59#FFFFFF#000000##FFFFFF
##871B591.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5B
Deuteranopia (green-blind)
#4E5057
Tritanopia (blue-blind)
#921238
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b59;
/* rgb */ color: rgb(135, 27, 89);
/* oklch */ color: oklch(42.6% 0.154 350.8);
Tailwind
colors: {
  custom: {
    50: '#ae6488',
    500: '#871b59',
    950: '#000000',
  },
}
SCSS
$custom: #871b59;
$custom-light: #ae6488;
$custom-dark: #000000;
JSON
{
  "hex": "#871b59",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 325.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42564,
    "c": 0.15361,
    "h": 350.8
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#871B59
secondary
#44BA76
accent
#EA873E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871B59

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

Preview Lab → · Contrast checker → · Palette generator →

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