#871C46#871C46

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

Color values

HEX#871C46
RGBrgb(135, 28, 70)
HSLhsl(336, 66%, 32%)
HSVhsv(336, 79%, 53%)
CMYKcmyk(0%, 79.3%, 48.1%, 47.1%)
CIE-LABlab(30.46, 47.13, 2.23)
CIE-LCHlch(30.46, 47.19, 2.71°)
OKLaboklab(41.94% 0.1446 0.0062)
OKLCHoklch(41.94% 0.145 2.5)
XYZxyz(11.5134, 6.4252, 6.4271)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C46 #1C875D
analogous
#871C7C #871C46 #87281C
triadic
#871C46 #46871C #1C4687
tetradic
#871C46 #7C871C #1C875D #281C87
square
#871C46 #7C871C #1C875D #281C87
split-complementary
#871C46 #1C8728 #1C7C87
monochromatic
#220711 #54112C #871C46 #BA2760 #D8457F

Accessibility & contrast

On white

9.19
#871C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C46
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C46#FFFFFF#000000##FFFFFF
##871C461.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A47
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#93032E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c46;
/* rgb */ color: rgb(135, 28, 70);
/* oklch */ color: oklch(41.9% 0.145 2.5);
Tailwind
colors: {
  custom: {
    50: '#af6479',
    500: '#871c46',
    950: '#000000',
  },
}
SCSS
$custom: #871c46;
$custom-light: #af6479;
$custom-dark: #000000;
JSON
{
  "hex": "#871c46",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 336.449,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.14468,
    "h": 2.5
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#871C46
secondary
#45BA8C
accent
#E9A63F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871C46

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

Preview Lab → · Contrast checker → · Palette generator →

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