#871C44#871C44

#871C44 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.144 H 3.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#871C44
RGBrgb(135, 28, 68)
HSLhsl(338, 66%, 32%)
HSVhsv(338, 79%, 53%)
CMYKcmyk(0%, 79.3%, 49.6%, 47.1%)
CIE-LABlab(30.40, 46.95, 3.47)
CIE-LCHlch(30.40, 47.08, 4.23°)
OKLaboklab(41.88% 0.1438 0.0094)
OKLCHoklch(41.88% 0.144 3.7)
XYZxyz(11.4513, 6.4003, 6.1001)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C44 #1C875F
analogous
#871C7A #871C44 #872A1C
triadic
#871C44 #44871C #1C4487
tetradic
#871C44 #7A871C #1C875F #2A1C87
square
#871C44 #7A871C #1C875F #2A1C87
split-complementary
#871C44 #1C872A #1C7A87
monochromatic
#220711 #54112A #871C44 #BA275E #D8457C

Accessibility & contrast

On white

9.21
#871C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C44
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C44#FFFFFF#000000##FFFFFF
##871C441.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A45
Deuteranopia (green-blind)
#534F41
Tritanopia (blue-blind)
#93012D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c44;
/* rgb */ color: rgb(135, 28, 68);
/* oklch */ color: oklch(41.9% 0.144 3.7);
Tailwind
colors: {
  custom: {
    50: '#af6477',
    500: '#871c44',
    950: '#000000',
  },
}
SCSS
$custom: #871c44;
$custom-light: #af6477;
$custom-dark: #000000;
JSON
{
  "hex": "#871c44",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 68
  },
  "hsl": {
    "h": 337.57,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.1441,
    "h": 3.7
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#871C44
secondary
#45BA8E
accent
#E9A93F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871C44

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

Preview Lab → · Contrast checker → · Palette generator →

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