#871B5A#871B5A

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

Color values

HEX#871B5A
RGBrgb(135, 27, 90)
HSLhsl(325, 67%, 32%)
HSVhsv(325, 80%, 53%)
CMYKcmyk(0%, 80%, 33.3%, 47.1%)
CIE-LABlab(31.05, 49.61, -10.05)
CIE-LCHlch(31.05, 50.61, 348.55°)
OKLaboklab(42.61% 0.1519 -0.0262)
OKLCHoklch(42.61% 0.154 350.2)
XYZxyz(12.2298, 6.6744, 10.3151)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B5A #1B8748
analogous
#7E1B87 #871B5A #871B24
triadic
#871B5A #5A871B #1B5A87
tetradic
#871B5A #877E1B #1B8748 #1B2487
square
#871B5A #877E1B #1B8748 #1B2487
split-complementary
#871B5A #24871B #1B877E
monochromatic
#210716 #541138 #871B5A #BA257C #D9439B

Accessibility & contrast

On white

9.00
#871B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B5A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B5A#FFFFFF#000000##FFFFFF
##871B5A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#4D5058
Tritanopia (blue-blind)
#911338
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b5a;
/* rgb */ color: rgb(135, 27, 90);
/* oklch */ color: oklch(42.6% 0.154 350.2);
Tailwind
colors: {
  custom: {
    50: '#ae6488',
    500: '#871b5a',
    950: '#000000',
  },
}
SCSS
$custom: #871b5a;
$custom-light: #ae6488;
$custom-dark: #000000;
JSON
{
  "hex": "#871b5a",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 325,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42606,
    "c": 0.15413,
    "h": 350.2
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#871B5A
secondary
#44BA75
accent
#EA863E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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