#871B47#871B47

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

Color values

HEX#871B47
RGBrgb(135, 27, 71)
HSLhsl(336, 67%, 32%)
HSVhsv(336, 80%, 53%)
CMYKcmyk(0%, 80%, 47.4%, 47.1%)
CIE-LABlab(30.38, 47.55, 1.45)
CIE-LCHlch(30.38, 47.57, 1.75°)
OKLaboklab(41.89% 0.1459 0.0043)
OKLCHoklch(41.89% 0.146 1.7)
XYZxyz(11.5219, 6.3913, 6.5869)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B47 #1B875B
analogous
#871B7D #871B47 #87251B
triadic
#871B47 #47871B #1B4787
tetradic
#871B47 #7D871B #1B875B #251B87
square
#871B47 #7D871B #1B875B #251B87
split-complementary
#871B47 #1B8725 #1B7D87
monochromatic
#210711 #54112C #871B47 #BA2562 #D94380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871B47#FFFFFF#000000##FFFFFF
##871B471.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)
#353A48
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#93022F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b47;
/* rgb */ color: rgb(135, 27, 71);
/* oklch */ color: oklch(41.9% 0.146 1.7);
Tailwind
colors: {
  custom: {
    50: '#af637a',
    500: '#871b47',
    950: '#000000',
  },
}
SCSS
$custom: #871b47;
$custom-light: #af637a;
$custom-dark: #000000;
JSON
{
  "hex": "#871b47",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 335.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.146,
    "h": 1.7
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#871B47
secondary
#44BA8A
accent
#EAA43E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871B47

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

Preview Lab → · Contrast checker → · Palette generator →

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