#871A53#871A53

#871A53 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.152 H 354.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#871A53
RGBrgb(135, 26, 83)
HSLhsl(329, 68%, 32%)
HSVhsv(329, 81%, 53%)
CMYKcmyk(0%, 80.7%, 38.5%, 47.1%)
CIE-LABlab(30.68, 49.10, -6.03)
CIE-LCHlch(30.68, 49.47, 353.00°)
OKLaboklab(42.24% 0.1509 -0.0153)
OKLCHoklch(42.24% 0.152 354.2)
XYZxyz(11.9232, 6.5157, 8.8117)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A53 #1A874E
analogous
#851A87 #871A53 #871A1C
triadic
#871A53 #53871A #1A5387
tetradic
#871A53 #87851A #1A874E #1A1C87
square
#871A53 #87851A #1A874E #1A1C87
split-complementary
#871A53 #1C871A #1A8785
monochromatic
#200614 #541033 #871A53 #BA2473 #DA4191

Accessibility & contrast

On white

9.12
#871A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A53
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A53#FFFFFF#000000##FFFFFF
##871A531.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B54
Deuteranopia (green-blind)
#4F4F51
Tritanopia (blue-blind)
#920B34
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a53;
/* rgb */ color: rgb(135, 26, 83);
/* oklch */ color: oklch(42.2% 0.152 354.2);
Tailwind
colors: {
  custom: {
    50: '#af6383',
    500: '#871a53',
    950: '#000000',
  },
}
SCSS
$custom: #871a53;
$custom-light: #af6383;
$custom-dark: #000000;
JSON
{
  "hex": "#871a53",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 328.624,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.15169,
    "h": 354.2
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#871A53
secondary
#42BA7C
accent
#EB903D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871A53

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

Preview Lab → · Contrast checker → · Palette generator →

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