#871F55#871F55

#871F55 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.147 H 353.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#871F55
RGBrgb(135, 31, 85)
HSLhsl(329, 63%, 33%)
HSVhsv(329, 77%, 53%)
CMYKcmyk(0%, 77%, 37%, 47.1%)
CIE-LABlab(31.32, 47.72, -6.38)
CIE-LCHlch(31.32, 48.14, 352.38°)
OKLaboklab(42.74% 0.1464 -0.0163)
OKLCHoklch(42.74% 0.147 353.7)
XYZxyz(12.1221, 6.7882, 9.2645)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F55 #1F8751
analogous
#851F87 #871F55 #871F21
triadic
#871F55 #55871F #1F5587
tetradic
#871F55 #87851F #1F8751 #1F2187
square
#871F55 #87851F #1F8751 #1F2187
split-complementary
#871F55 #21871F #1F8785
monochromatic
#230816 #551436 #871F55 #B92A74 #D64B93

Accessibility & contrast

On white

8.91
#871F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F55
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F55#FFFFFF#000000##FFFFFF
##871F551.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E56
Deuteranopia (green-blind)
#505153
Tritanopia (blue-blind)
#921437
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f55;
/* rgb */ color: rgb(135, 31, 85);
/* oklch */ color: oklch(42.7% 0.147 353.7);
Tailwind
colors: {
  custom: {
    50: '#ae6584',
    500: '#871f55',
    950: '#000000',
  },
}
SCSS
$custom: #871f55;
$custom-light: #ae6584;
$custom-dark: #000000;
JSON
{
  "hex": "#871f55",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 328.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.14729,
    "h": 353.7
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#871F55
secondary
#4AB87F
accent
#E69142
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F55

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

Preview Lab → · Contrast checker → · Palette generator →

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