#871D4E#871D4E

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

Color values

HEX#871D4E
RGBrgb(135, 29, 78)
HSLhsl(332, 65%, 32%)
HSVhsv(332, 79%, 53%)
CMYKcmyk(0%, 78.5%, 42.2%, 47.1%)
CIE-LABlab(30.83, 47.61, -2.51)
CIE-LCHlch(30.83, 47.68, 356.98°)
OKLaboklab(42.3% 0.1463 -0.006)
OKLCHoklch(42.3% 0.146 357.7)
XYZxyz(11.8070, 6.5812, 7.8548)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D4E #1D8756
analogous
#871D83 #871D4E #87211D
triadic
#871D4E #4E871D #1D4E87
tetradic
#871D4E #83871D #1D8756 #211D87
square
#871D4E #83871D #1D8756 #211D87
split-complementary
#871D4E #1D8721 #1D8387
monochromatic
#220714 #551231 #871D4E #B9286B #D7478A

Accessibility & contrast

On white

9.07
#871D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D4E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D4E#FFFFFF#000000##FFFFFF
##871D4E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#930C33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871d4e;
/* rgb */ color: rgb(135, 29, 78);
/* oklch */ color: oklch(42.3% 0.146 357.7);
Tailwind
colors: {
  custom: {
    50: '#af647f',
    500: '#871d4e',
    950: '#000000',
  },
}
SCSS
$custom: #871d4e;
$custom-light: #af647f;
$custom-dark: #000000;
JSON
{
  "hex": "#871d4e",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 332.264,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.423,
    "c": 0.14644,
    "h": 357.7
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#871D4E
secondary
#46B984
accent
#E89A40
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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