#871D49#871D49

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

Color values

HEX#871D49
RGBrgb(135, 29, 73)
HSLhsl(335, 65%, 32%)
HSVhsv(335, 79%, 53%)
CMYKcmyk(0%, 78.5%, 45.9%, 47.1%)
CIE-LABlab(30.67, 47.10, 0.55)
CIE-LCHlch(30.67, 47.10, 0.67°)
OKLaboklab(42.13% 0.1446 0.0019)
OKLCHoklch(42.13% 0.145 0.8)
XYZxyz(11.6346, 6.5122, 6.9464)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D49 #1D875B
analogous
#871D7E #871D49 #87261D
triadic
#871D49 #49871D #1D4987
tetradic
#871D49 #7E871D #1D875B #261D87
square
#871D49 #7E871D #1D875B #261D87
split-complementary
#871D49 #1D8726 #1D7E87
monochromatic
#220713 #55122E #871D49 #B92864 #D74783

Accessibility & contrast

On white

9.12
#871D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D49
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D49#FFFFFF#000000##FFFFFF
##871D491.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4A
Deuteranopia (green-blind)
#525047
Tritanopia (blue-blind)
#930730
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871d49;
/* rgb */ color: rgb(135, 29, 73);
/* oklch */ color: oklch(42.1% 0.145 0.8);
Tailwind
colors: {
  custom: {
    50: '#af647b',
    500: '#871d49',
    950: '#000000',
  },
}
SCSS
$custom: #871d49;
$custom-light: #af647b;
$custom-dark: #000000;
JSON
{
  "hex": "#871d49",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 335.094,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42126,
    "c": 0.1446,
    "h": 0.8
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#871D49
secondary
#46B98A
accent
#E8A240
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871D49

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

Preview Lab → · Contrast checker → · Palette generator →

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