#871B4B#871B4B

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

Color values

HEX#871B4B
RGBrgb(135, 27, 75)
HSLhsl(333, 67%, 32%)
HSVhsv(333, 80%, 53%)
CMYKcmyk(0%, 80%, 44.4%, 47.1%)
CIE-LABlab(30.51, 47.94, -1.01)
CIE-LCHlch(30.51, 47.95, 358.79°)
OKLaboklab(42.03% 0.1474 -0.0021)
OKLCHoklch(42.03% 0.147 359.2)
XYZxyz(11.6545, 6.4443, 7.2854)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B4B #1B8757
analogous
#871B81 #871B4B #87211B
triadic
#871B4B #4B871B #1B4B87
tetradic
#871B4B #81871B #1B8757 #211B87
square
#871B4B #81871B #1B8757 #211B87
split-complementary
#871B4B #1B8721 #1B8187
monochromatic
#210712 #54112F #871B4B #BA2567 #D94386

Accessibility & contrast

On white

9.18
#871B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B4B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B4B#FFFFFF#000000##FFFFFF
##871B4B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#514F49
Tritanopia (blue-blind)
#930530
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b4b;
/* rgb */ color: rgb(135, 27, 75);
/* oklch */ color: oklch(42.0% 0.147 359.2);
Tailwind
colors: {
  custom: {
    50: '#af637d',
    500: '#871b4b',
    950: '#000000',
  },
}
SCSS
$custom: #871b4b;
$custom-light: #af637d;
$custom-dark: #000000;
JSON
{
  "hex": "#871b4b",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 333.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.14737,
    "h": 359.2
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#871B4B
secondary
#44BA85
accent
#EA9D3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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