#871B54#871B54

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

Color values

HEX#871B54
RGBrgb(135, 27, 84)
HSLhsl(328, 67%, 32%)
HSVhsv(328, 80%, 53%)
CMYKcmyk(0%, 80%, 37.8%, 47.1%)
CIE-LABlab(30.82, 48.91, -6.47)
CIE-LCHlch(30.82, 49.33, 352.46°)
OKLaboklab(42.36% 0.1502 -0.0165)
OKLCHoklch(42.36% 0.151 353.7)
XYZxyz(11.9846, 6.5763, 9.0240)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B54 #1B874E
analogous
#841B87 #871B54 #871B1E
triadic
#871B54 #54871B #1B5487
tetradic
#871B54 #87841B #1B874E #1B1E87
square
#871B54 #87841B #1B874E #1B1E87
split-complementary
#871B54 #1E871B #1B8784
monochromatic
#210715 #541134 #871B54 #BA2574 #D94392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871B54#FFFFFF#000000##FFFFFF
##871B541.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)
#313C55
Deuteranopia (green-blind)
#4F5052
Tritanopia (blue-blind)
#920E35
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b54;
/* rgb */ color: rgb(135, 27, 84);
/* oklch */ color: oklch(42.4% 0.151 353.7);
Tailwind
colors: {
  custom: {
    50: '#ae6484',
    500: '#871b54',
    950: '#000000',
  },
}
SCSS
$custom: #871b54;
$custom-light: #ae6484;
$custom-dark: #000000;
JSON
{
  "hex": "#871b54",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 328.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.15113,
    "h": 353.7
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#871B54
secondary
#44BA7C
accent
#EA8F3E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871B54

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

Preview Lab → · Contrast checker → · Palette generator →

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