#871C5E#871C5E

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

Color values

HEX#871C5E
RGBrgb(135, 28, 94)
HSLhsl(323, 66%, 32%)
HSVhsv(323, 79%, 53%)
CMYKcmyk(0%, 79.3%, 30.4%, 47.1%)
CIE-LABlab(31.33, 49.79, -12.23)
CIE-LCHlch(31.33, 51.27, 346.19°)
OKLaboklab(42.86% 0.1519 -0.0322)
OKLCHoklch(42.86% 0.155 348)
XYZxyz(12.4279, 6.7910, 11.2438)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C5E #1C8745
analogous
#7B1C87 #871C5E #871C28
triadic
#871C5E #5E871C #1C5E87
tetradic
#871C5E #877B1C #1C8745 #1C2887
square
#871C5E #877B1C #1C8745 #1C2887
split-complementary
#871C5E #28871C #1C877B
monochromatic
#220717 #54113B #871C5E #BA2781 #D845A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C5E#FFFFFF#000000##FFFFFF
##871C5E1.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)
#2D3E60
Deuteranopia (green-blind)
#4D505C
Tritanopia (blue-blind)
#91173B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871c5e;
/* rgb */ color: rgb(135, 28, 94);
/* oklch */ color: oklch(42.9% 0.155 348.0);
Tailwind
colors: {
  custom: {
    50: '#ae648b',
    500: '#871c5e',
    950: '#000000',
  },
}
SCSS
$custom: #871c5e;
$custom-light: #ae648b;
$custom-dark: #000000;
JSON
{
  "hex": "#871c5e",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 322.991,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.15528,
    "h": 348
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#871C5E
secondary
#45BA72
accent
#E9803F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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