#871C5C#871C5C

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

Color values

HEX#871C5C
RGBrgb(135, 28, 92)
HSLhsl(324, 66%, 32%)
HSVhsv(324, 79%, 53%)
CMYKcmyk(0%, 79.3%, 31.9%, 47.1%)
CIE-LABlab(31.24, 49.54, -11.06)
CIE-LCHlch(31.24, 50.76, 347.41°)
OKLaboklab(42.77% 0.1514 -0.029)
OKLCHoklch(42.77% 0.154 349.2)
XYZxyz(12.3394, 6.7556, 10.7773)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C5C #1C8747
analogous
#7D1C87 #871C5C #871C27
triadic
#871C5C #5C871C #1C5C87
tetradic
#871C5C #877D1C #1C8747 #1C2787
square
#871C5C #877D1C #1C8747 #1C2787
split-complementary
#871C5C #27871C #1C877D
monochromatic
#220717 #541139 #871C5C #BA277F #D8459D

Accessibility & contrast

On white

8.93
#871C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C5C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C5C#FFFFFF#000000##FFFFFF
##871C5C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5E
Deuteranopia (green-blind)
#4D505A
Tritanopia (blue-blind)
#91153A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871c5c;
/* rgb */ color: rgb(135, 28, 92);
/* oklch */ color: oklch(42.8% 0.154 349.2);
Tailwind
colors: {
  custom: {
    50: '#ae648a',
    500: '#871c5c',
    950: '#000000',
  },
}
SCSS
$custom: #871c5c;
$custom-light: #ae648a;
$custom-dark: #000000;
JSON
{
  "hex": "#871c5c",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 324.112,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.15416,
    "h": 349.2
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#871C5C
secondary
#45BA74
accent
#E9833F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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