#871B49#871B49

#871B49 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.147 H 0.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#871B49
RGBrgb(135, 27, 73)
HSLhsl(334, 67%, 32%)
HSVhsv(334, 80%, 53%)
CMYKcmyk(0%, 80%, 45.9%, 47.1%)
CIE-LABlab(30.44, 47.74, 0.22)
CIE-LCHlch(30.44, 47.74, 0.26°)
OKLaboklab(41.96% 0.1467 0.0011)
OKLCHoklch(41.96% 0.147 0.4)
XYZxyz(11.5871, 6.4173, 6.9305)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B49 #1B8759
analogous
#871B7F #871B49 #87231B
triadic
#871B49 #49871B #1B4987
tetradic
#871B49 #7F871B #1B8759 #231B87
square
#871B49 #7F871B #1B8759 #231B87
split-complementary
#871B49 #1B8723 #1B7F87
monochromatic
#210712 #54112D #871B49 #BA2565 #D94383

Accessibility & contrast

On white

9.20
#871B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B49
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B49#FFFFFF#000000##FFFFFF
##871B491.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#514F47
Tritanopia (blue-blind)
#93032F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b49;
/* rgb */ color: rgb(135, 27, 73);
/* oklch */ color: oklch(42.0% 0.147 0.4);
Tailwind
colors: {
  custom: {
    50: '#af637b',
    500: '#871b49',
    950: '#000000',
  },
}
SCSS
$custom: #871b49;
$custom-light: #af637b;
$custom-dark: #000000;
JSON
{
  "hex": "#871b49",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 334.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.14666,
    "h": 0.4
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#871B49
secondary
#44BA88
accent
#EAA13E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871B49

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

Preview Lab → · Contrast checker → · Palette generator →

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