#871F56#871F56

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

Color values

HEX#871F56
RGBrgb(135, 31, 86)
HSLhsl(328, 63%, 33%)
HSVhsv(328, 77%, 53%)
CMYKcmyk(0%, 77%, 36.3%, 47.1%)
CIE-LABlab(31.36, 47.83, -6.98)
CIE-LCHlch(31.36, 48.34, 351.70°)
OKLaboklab(42.78% 0.1467 -0.0179)
OKLCHoklch(42.78% 0.148 353)
XYZxyz(12.1621, 6.8042, 9.4752)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F56 #1F8750
analogous
#841F87 #871F56 #871F22
triadic
#871F56 #56871F #1F5687
tetradic
#871F56 #87841F #1F8750 #1F2287
square
#871F56 #87841F #1F8750 #1F2287
split-complementary
#871F56 #22871F #1F8784
monochromatic
#230817 #551436 #871F56 #B92A76 #D64B94

Accessibility & contrast

On white

8.90
#871F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F56
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F56#FFFFFF#000000##FFFFFF
##871F561.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E57
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#921538
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f56;
/* rgb */ color: rgb(135, 31, 86);
/* oklch */ color: oklch(42.8% 0.148 353.0);
Tailwind
colors: {
  custom: {
    50: '#ae6585',
    500: '#871f56',
    950: '#000000',
  },
}
SCSS
$custom: #871f56;
$custom-light: #ae6585;
$custom-dark: #000000;
JSON
{
  "hex": "#871f56",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 328.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.14778,
    "h": 353
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#871F56
secondary
#4AB87E
accent
#E68F42
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F56

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

Preview Lab → · Contrast checker → · Palette generator →

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