#871F5E#871F5E

#871F5E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.152 H 348.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#871F5E
RGBrgb(135, 31, 94)
HSLhsl(324, 63%, 33%)
HSVhsv(324, 77%, 53%)
CMYKcmyk(0%, 77%, 30.4%, 47.1%)
CIE-LABlab(31.67, 48.81, -11.71)
CIE-LCHlch(31.67, 50.19, 346.51°)
OKLaboklab(43.11% 0.1488 -0.0308)
OKLCHoklch(43.11% 0.152 348.3)
XYZxyz(12.5027, 6.9404, 11.2687)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F5E #1F8748
analogous
#7C1F87 #871F5E #871F2A
triadic
#871F5E #5E871F #1F5E87
tetradic
#871F5E #877C1F #1F8748 #1F2A87
square
#871F5E #877C1F #1F8748 #1F2A87
split-complementary
#871F5E #2A871F #1F877C
monochromatic
#230819 #55143B #871F5E #B92A81 #D64B9F

Accessibility & contrast

On white

8.79
#871F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F5E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F5E#FFFFFF#000000##FFFFFF
##871F5E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#4E515C
Tritanopia (blue-blind)
#911A3C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f5e;
/* rgb */ color: rgb(135, 31, 94);
/* oklch */ color: oklch(43.1% 0.152 348.3);
Tailwind
colors: {
  custom: {
    50: '#ae668b',
    500: '#871f5e',
    950: '#000000',
  },
}
SCSS
$custom: #871f5e;
$custom-light: #ae668b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f5e",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 323.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.15199,
    "h": 348.3
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#871F5E
secondary
#4AB875
accent
#E68342
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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