#871F57#871F57

#871F57 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 352.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#871F57
RGBrgb(135, 31, 87)
HSLhsl(328, 63%, 33%)
HSVhsv(328, 77%, 53%)
CMYKcmyk(0%, 77%, 35.6%, 47.1%)
CIE-LABlab(31.39, 47.95, -7.57)
CIE-LCHlch(31.39, 48.54, 351.02°)
OKLaboklab(42.82% 0.147 -0.0195)
OKLCHoklch(42.82% 0.148 352.4)
XYZxyz(12.2027, 6.8205, 9.6888)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F57 #1F874F
analogous
#831F87 #871F57 #871F23
triadic
#871F57 #57871F #1F5787
tetradic
#871F57 #87831F #1F874F #1F2387
square
#871F57 #87831F #1F874F #1F2387
split-complementary
#871F57 #23871F #1F8783
monochromatic
#230817 #551437 #871F57 #B92A77 #D64B96

Accessibility & contrast

On white

8.88
#871F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F57
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F57#FFFFFF#000000##FFFFFF
##871F571.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E58
Deuteranopia (green-blind)
#4F5155
Tritanopia (blue-blind)
#921638
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f57;
/* rgb */ color: rgb(135, 31, 87);
/* oklch */ color: oklch(42.8% 0.148 352.4);
Tailwind
colors: {
  custom: {
    50: '#ae6586',
    500: '#871f57',
    950: '#000000',
  },
}
SCSS
$custom: #871f57;
$custom-light: #ae6586;
$custom-dark: #000000;
JSON
{
  "hex": "#871f57",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 327.692,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.14827,
    "h": 352.4
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#871F57
secondary
#4AB87D
accent
#E68E42
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F57

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

Preview Lab → · Contrast checker → · Palette generator →

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