#871D56#871D56

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

Color values

HEX#871D56
RGBrgb(135, 29, 86)
HSLhsl(328, 65%, 32%)
HSVhsv(328, 79%, 53%)
CMYKcmyk(0%, 78.5%, 36.3%, 47.1%)
CIE-LABlab(31.12, 48.50, -7.33)
CIE-LCHlch(31.12, 49.05, 351.40°)
OKLaboklab(42.6% 0.1488 -0.0188)
OKLCHoklch(42.6% 0.15 352.8)
XYZxyz(12.1115, 6.7030, 9.4583)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D56 #1D874E
analogous
#831D87 #871D56 #871D21
triadic
#871D56 #56871D #1D5687
tetradic
#871D56 #87831D #1D874E #1D2187
square
#871D56 #87831D #1D874E #1D2187
split-complementary
#871D56 #21871D #1D8783
monochromatic
#220716 #551236 #871D56 #B92876 #D74795

Accessibility & contrast

On white

8.97
#871D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D56
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D56#FFFFFF#000000##FFFFFF
##871D561.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#921237
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871d56;
/* rgb */ color: rgb(135, 29, 86);
/* oklch */ color: oklch(42.6% 0.150 352.8);
Tailwind
colors: {
  custom: {
    50: '#ae6585',
    500: '#871d56',
    950: '#000000',
  },
}
SCSS
$custom: #871d56;
$custom-light: #ae6585;
$custom-dark: #000000;
JSON
{
  "hex": "#871d56",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 327.736,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.14999,
    "h": 352.8
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#871D56
secondary
#46B97C
accent
#E88E40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871D56

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

Preview Lab → · Contrast checker → · Palette generator →

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