#871D47#871D47

#871D47 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.144 H 2.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#871D47
RGBrgb(135, 29, 71)
HSLhsl(336, 65%, 32%)
HSVhsv(336, 79%, 53%)
CMYKcmyk(0%, 78.5%, 47.4%, 47.1%)
CIE-LABlab(30.61, 46.90, 1.78)
CIE-LCHlch(30.61, 46.94, 2.18°)
OKLaboklab(42.06% 0.1439 0.0051)
OKLCHoklch(42.06% 0.144 2)
XYZxyz(11.5693, 6.4861, 6.6027)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D47 #1D875D
analogous
#871D7C #871D47 #87281D
triadic
#871D47 #47871D #1D4787
tetradic
#871D47 #7C871D #1D875D #281D87
square
#871D47 #7C871D #1D875D #281D87
split-complementary
#871D47 #1D8728 #1D7C87
monochromatic
#220712 #55122D #871D47 #B92861 #D74780

Accessibility & contrast

On white

9.14
#871D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D47
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D47#FFFFFF#000000##FFFFFF
##871D471.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#93062F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871d47;
/* rgb */ color: rgb(135, 29, 71);
/* oklch */ color: oklch(42.1% 0.144 2.0);
Tailwind
colors: {
  custom: {
    50: '#af647a',
    500: '#871d47',
    950: '#000000',
  },
}
SCSS
$custom: #871d47;
$custom-light: #af647a;
$custom-dark: #000000;
JSON
{
  "hex": "#871d47",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 336.226,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42059,
    "c": 0.14396,
    "h": 2
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#871D47
secondary
#46B98C
accent
#E8A540
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871D47

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

Preview Lab → · Contrast checker → · Palette generator →

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