#871B52#871B52

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

Color values

HEX#871B52
RGBrgb(135, 27, 82)
HSLhsl(329, 67%, 32%)
HSVhsv(329, 80%, 53%)
CMYKcmyk(0%, 80%, 39.3%, 47.1%)
CIE-LABlab(30.75, 48.68, -5.27)
CIE-LCHlch(30.75, 48.97, 353.82°)
OKLaboklab(42.28% 0.1496 -0.0133)
OKLCHoklch(42.28% 0.15 354.9)
XYZxyz(11.9074, 6.5455, 8.6174)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B52 #1B8750
analogous
#861B87 #871B52 #871B1C
triadic
#871B52 #52871B #1B5287
tetradic
#871B52 #87861B #1B8750 #1B1C87
square
#871B52 #87861B #1B8750 #1B1C87
split-complementary
#871B52 #1C871B #1B8786
monochromatic
#210714 #541133 #871B52 #BA2571 #D94390

Accessibility & contrast

On white

9.10
#871B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B52
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B52#FFFFFF#000000##FFFFFF
##871B521.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#4F5050
Tritanopia (blue-blind)
#920C34
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b52;
/* rgb */ color: rgb(135, 27, 82);
/* oklch */ color: oklch(42.3% 0.150 354.9);
Tailwind
colors: {
  custom: {
    50: '#af6482',
    500: '#871b52',
    950: '#000000',
  },
}
SCSS
$custom: #871b52;
$custom-light: #af6482;
$custom-dark: #000000;
JSON
{
  "hex": "#871b52",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 329.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.15022,
    "h": 354.9
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#871B52
secondary
#44BA7E
accent
#EA923E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871B52

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

Preview Lab → · Contrast checker → · Palette generator →

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