#871D58#871D58

#871D58 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.151 H 351.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#871D58
RGBrgb(135, 29, 88)
HSLhsl(327, 65%, 32%)
HSVhsv(327, 79%, 53%)
CMYKcmyk(0%, 78.5%, 34.8%, 47.1%)
CIE-LABlab(31.20, 48.73, -8.52)
CIE-LCHlch(31.20, 49.47, 350.08°)
OKLaboklab(42.69% 0.1494 -0.0221)
OKLCHoklch(42.69% 0.151 351.6)
XYZxyz(12.1932, 6.7357, 9.8886)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D58 #1D874C
analogous
#811D87 #871D58 #871D23
triadic
#871D58 #58871D #1D5887
tetradic
#871D58 #87811D #1D874C #1D2387
square
#871D58 #87811D #1D874C #1D2387
split-complementary
#871D58 #23871D #1D8781
monochromatic
#220716 #551237 #871D58 #B92879 #D74797

Accessibility & contrast

On white

8.95
#871D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D58
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D58#FFFFFF#000000##FFFFFF
##871D581.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D5A
Deuteranopia (green-blind)
#4F5056
Tritanopia (blue-blind)
#921438
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871d58;
/* rgb */ color: rgb(135, 29, 88);
/* oklch */ color: oklch(42.7% 0.151 351.6);
Tailwind
colors: {
  custom: {
    50: '#ae6587',
    500: '#871d58',
    950: '#000000',
  },
}
SCSS
$custom: #871d58;
$custom-light: #ae6587;
$custom-dark: #000000;
JSON
{
  "hex": "#871d58",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 326.604,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.15098,
    "h": 351.6
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#871D58
secondary
#46B979
accent
#E88A40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871D58

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

Preview Lab → · Contrast checker → · Palette generator →

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