#871D4F#871D4F

#871D4F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.147 H 357.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#871D4F
RGBrgb(135, 29, 79)
HSLhsl(332, 65%, 32%)
HSVhsv(332, 79%, 53%)
CMYKcmyk(0%, 78.5%, 41.5%, 47.1%)
CIE-LABlab(30.87, 47.72, -3.12)
CIE-LCHlch(30.87, 47.82, 356.26°)
OKLaboklab(42.34% 0.1467 -0.0076)
OKLCHoklch(42.34% 0.147 357)
XYZxyz(11.8432, 6.5957, 8.0451)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D4F #1D8755
analogous
#871D84 #871D4F #87201D
triadic
#871D4F #4F871D #1D4F87
tetradic
#871D4F #84871D #1D8755 #201D87
square
#871D4F #84871D #1D8755 #201D87
split-complementary
#871D4F #1D8720 #1D8487
monochromatic
#220714 #551232 #871D4F #B9286C #D7478B

Accessibility & contrast

On white

9.06
#871D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D4F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D4F#FFFFFF#000000##FFFFFF
##871D4F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C50
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#920D33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871d4f;
/* rgb */ color: rgb(135, 29, 79);
/* oklch */ color: oklch(42.3% 0.147 357.0);
Tailwind
colors: {
  custom: {
    50: '#af6480',
    500: '#871d4f',
    950: '#000000',
  },
}
SCSS
$custom: #871d4f;
$custom-light: #af6480;
$custom-dark: #000000;
JSON
{
  "hex": "#871d4f",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 331.698,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42336,
    "c": 0.14685,
    "h": 357
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#871D4F
secondary
#46B983
accent
#E89940
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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