#871C43#871C43

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

Color values

HEX#871C43
RGBrgb(135, 28, 67)
HSLhsl(338, 66%, 32%)
HSVhsv(338, 79%, 53%)
CMYKcmyk(0%, 79.3%, 50.4%, 47.1%)
CIE-LABlab(30.37, 46.85, 4.09)
CIE-LCHlch(30.37, 47.03, 4.99°)
OKLaboklab(41.85% 0.1434 0.0109)
OKLCHoklch(41.85% 0.144 4.4)
XYZxyz(11.4210, 6.3882, 5.9407)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C43 #1C8760
analogous
#871C79 #871C43 #872B1C
triadic
#871C43 #43871C #1C4387
tetradic
#871C43 #79871C #1C8760 #2B1C87
square
#871C43 #79871C #1C8760 #2B1C87
split-complementary
#871C43 #1C872B #1C7987
monochromatic
#220711 #54112A #871C43 #BA275C #D8457B

Accessibility & contrast

On white

9.22
#871C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C43
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C43#FFFFFF#000000##FFFFFF
##871C431.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A44
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871c43;
/* rgb */ color: rgb(135, 28, 67);
/* oklch */ color: oklch(41.8% 0.144 4.4);
Tailwind
colors: {
  custom: {
    50: '#af6476',
    500: '#871c43',
    950: '#000000',
  },
}
SCSS
$custom: #871c43;
$custom-light: #af6476;
$custom-dark: #000000;
JSON
{
  "hex": "#871c43",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 67
  },
  "hsl": {
    "h": 338.131,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.14383,
    "h": 4.4
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#871C43
secondary
#45BA8F
accent
#E9AB3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871C43

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

Preview Lab → · Contrast checker → · Palette generator →

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