#871E49#871E49

#871E49 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.144 H 1.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#871E49
RGBrgb(135, 30, 73)
HSLhsl(335, 64%, 32%)
HSVhsv(335, 78%, 53%)
CMYKcmyk(0%, 77.8%, 45.9%, 47.1%)
CIE-LABlab(30.79, 46.76, 0.72)
CIE-LCHlch(30.79, 46.77, 0.88°)
OKLaboklab(42.21% 0.1435 0.0024)
OKLCHoklch(42.21% 0.144 1)
XYZxyz(11.6595, 6.5620, 6.9547)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E49 #1E875C
analogous
#871E7D #871E49 #87281E
triadic
#871E49 #49871E #1E4987
tetradic
#871E49 #7D871E #1E875C #281E87
square
#871E49 #7D871E #1E875C #281E87
split-complementary
#871E49 #1E8728 #1E7D87
monochromatic
#230813 #55132E #871E49 #B92964 #D74983

Accessibility & contrast

On white

9.08
#871E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E49
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E49#FFFFFF#000000##FFFFFF
##871E491.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4A
Deuteranopia (green-blind)
#525047
Tritanopia (blue-blind)
#930A31
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e49;
/* rgb */ color: rgb(135, 30, 73);
/* oklch */ color: oklch(42.2% 0.144 1.0);
Tailwind
colors: {
  custom: {
    50: '#af657b',
    500: '#871e49',
    950: '#000000',
  },
}
SCSS
$custom: #871e49;
$custom-light: #af657b;
$custom-dark: #000000;
JSON
{
  "hex": "#871e49",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 335.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.14354,
    "h": 1
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#871E49
secondary
#48B98B
accent
#E7A341
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871E49

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

Preview Lab → · Contrast checker → · Palette generator →

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