#871A47#871A47

#871A47 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.147 H 1.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#871A47
RGBrgb(135, 26, 71)
HSLhsl(335, 68%, 32%)
HSVhsv(335, 81%, 53%)
CMYKcmyk(0%, 80.7%, 47.4%, 47.1%)
CIE-LABlab(30.27, 47.86, 1.29)
CIE-LCHlch(30.27, 47.87, 1.55°)
OKLaboklab(41.81% 0.1469 0.0039)
OKLCHoklch(41.81% 0.147 1.5)
XYZxyz(11.4993, 6.3462, 6.5794)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A47 #1A875A
analogous
#871A7E #871A47 #87231A
triadic
#871A47 #47871A #1A4787
tetradic
#871A47 #7E871A #1A875A #231A87
square
#871A47 #7E871A #1A875A #231A87
split-complementary
#871A47 #1A8723 #1A7E87
monochromatic
#200611 #54102C #871A47 #BA2462 #DA4180

Accessibility & contrast

On white

9.26
#871A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A47
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A47#FFFFFF#000000##FFFFFF
##871A471.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A48
Deuteranopia (green-blind)
#524F44
Tritanopia (blue-blind)
#93002E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871a47;
/* rgb */ color: rgb(135, 26, 71);
/* oklch */ color: oklch(41.8% 0.147 1.5);
Tailwind
colors: {
  custom: {
    50: '#af637a',
    500: '#871a47',
    950: '#000000',
  },
}
SCSS
$custom: #871a47;
$custom-light: #af637a;
$custom-dark: #000000;
JSON
{
  "hex": "#871a47",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 335.229,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.14699,
    "h": 1.5
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#871A47
secondary
#42BA89
accent
#EBA33D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871A47

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

Preview Lab → · Contrast checker → · Palette generator →

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