#871A59#871A59

#871A59 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.155 H 350.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#871A59
RGBrgb(135, 26, 89)
HSLhsl(325, 68%, 32%)
HSVhsv(325, 81%, 53%)
CMYKcmyk(0%, 80.7%, 34.1%, 47.1%)
CIE-LABlab(30.91, 49.79, -9.61)
CIE-LCHlch(30.91, 50.71, 349.07°)
OKLaboklab(42.49% 0.1526 -0.025)
OKLCHoklch(42.49% 0.155 350.7)
XYZxyz(12.1650, 6.6124, 10.0850)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A59 #1A8748
analogous
#7F1A87 #871A59 #871A23
triadic
#871A59 #59871A #1A5987
tetradic
#871A59 #877F1A #1A8748 #1A2387
square
#871A59 #877F1A #1A8748 #1A2387
split-complementary
#871A59 #23871A #1A877F
monochromatic
#200615 #541037 #871A59 #BA247B #DA419A

Accessibility & contrast

On white

9.04
#871A59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A59
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A59#FFFFFF#000000##FFFFFF
##871A591.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3C5B
Deuteranopia (green-blind)
#4D5057
Tritanopia (blue-blind)
#921037
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871a59;
/* rgb */ color: rgb(135, 26, 89);
/* oklch */ color: oklch(42.5% 0.155 350.7);
Tailwind
colors: {
  custom: {
    50: '#ae6488',
    500: '#871a59',
    950: '#000000',
  },
}
SCSS
$custom: #871a59;
$custom-light: #ae6488;
$custom-dark: #000000;
JSON
{
  "hex": "#871a59",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 89
  },
  "hsl": {
    "h": 325.321,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42487,
    "c": 0.15462,
    "h": 350.7
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#871A59
secondary
#42BA75
accent
#EB863D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871A59

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

Preview Lab → · Contrast checker → · Palette generator →

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