#871A55#871A55

#871A55 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.153 H 353.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#871A55
RGBrgb(135, 26, 85)
HSLhsl(328, 68%, 32%)
HSVhsv(328, 81%, 53%)
CMYKcmyk(0%, 80.7%, 37%, 47.1%)
CIE-LABlab(30.75, 49.32, -7.23)
CIE-LCHlch(30.75, 49.85, 351.66°)
OKLaboklab(42.32% 0.1515 -0.0185)
OKLCHoklch(42.32% 0.153 353)
XYZxyz(12.0015, 6.5471, 9.2243)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A55 #1A874C
analogous
#831A87 #871A55 #871A1F
triadic
#871A55 #55871A #1A5587
tetradic
#871A55 #87831A #1A874C #1A1F87
square
#871A55 #87831A #1A874C #1A1F87
split-complementary
#871A55 #1F871A #1A8783
monochromatic
#200614 #541035 #871A55 #BA2475 #DA4194

Accessibility & contrast

On white

9.09
#871A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A55
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A55#FFFFFF#000000##FFFFFF
##871A551.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C56
Deuteranopia (green-blind)
#4E4F53
Tritanopia (blue-blind)
#920D35
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a55;
/* rgb */ color: rgb(135, 26, 85);
/* oklch */ color: oklch(42.3% 0.153 353.0);
Tailwind
colors: {
  custom: {
    50: '#ae6384',
    500: '#871a55',
    950: '#000000',
  },
}
SCSS
$custom: #871a55;
$custom-light: #ae6384;
$custom-dark: #000000;
JSON
{
  "hex": "#871a55",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 327.523,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.15262,
    "h": 353
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#871A55
secondary
#42BA79
accent
#EB8D3D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871A55

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

Preview Lab → · Contrast checker → · Palette generator →

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