#871B4A#871B4A

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

Color values

HEX#871B4A
RGBrgb(135, 27, 74)
HSLhsl(334, 67%, 32%)
HSVhsv(334, 80%, 53%)
CMYKcmyk(0%, 80%, 45.2%, 47.1%)
CIE-LABlab(30.47, 47.84, -0.40)
CIE-LCHlch(30.47, 47.84, 359.52°)
OKLaboklab(41.99% 0.147 -0.0005)
OKLCHoklch(41.99% 0.147 359.8)
XYZxyz(11.6205, 6.4307, 7.1066)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B4A #1B8758
analogous
#871B80 #871B4A #87221B
triadic
#871B4A #4A871B #1B4A87
tetradic
#871B4A #80871B #1B8758 #221B87
square
#871B4A #80871B #1B8758 #221B87
split-complementary
#871B4A #1B8722 #1B8087
monochromatic
#210712 #54112E #871B4A #BA2566 #D94384

Accessibility & contrast

On white

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

On black

2.29
#871B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##871B4A#FFFFFF#000000##FFFFFF
##871B4A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4B
Deuteranopia (green-blind)
#514F48
Tritanopia (blue-blind)
#930430
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b4a;
/* rgb */ color: rgb(135, 27, 74);
/* oklch */ color: oklch(42.0% 0.147 359.8);
Tailwind
colors: {
  custom: {
    50: '#af637c',
    500: '#871b4a',
    950: '#000000',
  },
}
SCSS
$custom: #871b4a;
$custom-light: #af637c;
$custom-dark: #000000;
JSON
{
  "hex": "#871b4a",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 333.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.14701,
    "h": 359.8
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#871B4A
secondary
#44BA87
accent
#EA9F3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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