#871D57#871D57

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

Color values

HEX#871D57
RGBrgb(135, 29, 87)
HSLhsl(327, 65%, 32%)
HSVhsv(327, 79%, 53%)
CMYKcmyk(0%, 78.5%, 35.6%, 47.1%)
CIE-LABlab(31.16, 48.62, -7.93)
CIE-LCHlch(31.16, 49.26, 350.74°)
OKLaboklab(42.64% 0.1491 -0.0204)
OKLCHoklch(42.64% 0.15 352.2)
XYZxyz(12.1521, 6.7192, 9.6720)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D57 #1D874D
analogous
#821D87 #871D57 #871D22
triadic
#871D57 #57871D #1D5787
tetradic
#871D57 #87821D #1D874D #1D2287
square
#871D57 #87821D #1D874D #1D2287
split-complementary
#871D57 #22871D #1D8782
monochromatic
#220716 #551237 #871D57 #B92877 #D74796

Accessibility & contrast

On white

8.96
#871D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D57
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D57#FFFFFF#000000##FFFFFF
##871D571.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D58
Deuteranopia (green-blind)
#4F5055
Tritanopia (blue-blind)
#921337
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871d57;
/* rgb */ color: rgb(135, 29, 87);
/* oklch */ color: oklch(42.6% 0.150 352.2);
Tailwind
colors: {
  custom: {
    50: '#ae6586',
    500: '#871d57',
    950: '#000000',
  },
}
SCSS
$custom: #871d57;
$custom-light: #ae6586;
$custom-dark: #000000;
JSON
{
  "hex": "#871d57",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 327.17,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.15049,
    "h": 352.2
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#871D57
secondary
#46B97A
accent
#E88C40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871D57

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

Preview Lab → · Contrast checker → · Palette generator →

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