#871F4C#871F4C

#871F4C is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.143 H 359.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#871F4C
RGBrgb(135, 31, 76)
HSLhsl(334, 63%, 33%)
HSVhsv(334, 77%, 53%)
CMYKcmyk(0%, 77%, 43.7%, 47.1%)
CIE-LABlab(31.01, 46.73, -0.94)
CIE-LCHlch(31.01, 46.74, 358.85°)
OKLaboklab(42.41% 0.1435 -0.0019)
OKLCHoklch(42.41% 0.143 359.2)
XYZxyz(11.7870, 6.6542, 7.4998)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F4C #1F875A
analogous
#871F80 #871F4C #87261F
triadic
#871F4C #4C871F #1F4C87
tetradic
#871F4C #80871F #1F875A #261F87
square
#871F4C #80871F #1F875A #261F87
split-complementary
#871F4C #1F8726 #1F8087
monochromatic
#230814 #551430 #871F4C #B92A68 #D64B87

Accessibility & contrast

On white

9.01
#871F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F4C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F4C#FFFFFF#000000##FFFFFF
##871F4C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4D
Deuteranopia (green-blind)
#52504A
Tritanopia (blue-blind)
#930E33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f4c;
/* rgb */ color: rgb(135, 31, 76);
/* oklch */ color: oklch(42.4% 0.143 359.2);
Tailwind
colors: {
  custom: {
    50: '#af657d',
    500: '#871f4c',
    950: '#000000',
  },
}
SCSS
$custom: #871f4c;
$custom-light: #af657d;
$custom-dark: #000000;
JSON
{
  "hex": "#871f4c",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 334.038,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.14349,
    "h": 359.2
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#871F4C
secondary
#4AB888
accent
#E69F42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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