#871A4B#871A4B

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

Color values

HEX#871A4B
RGBrgb(135, 26, 75)
HSLhsl(333, 68%, 32%)
HSVhsv(333, 81%, 53%)
CMYKcmyk(0%, 80.7%, 44.4%, 47.1%)
CIE-LABlab(30.40, 48.25, -1.17)
CIE-LCHlch(30.40, 48.26, 358.61°)
OKLaboklab(41.95% 0.1483 -0.0025)
OKLCHoklch(41.95% 0.148 359)
XYZxyz(11.6320, 6.3992, 7.2779)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A4B #1A8756
analogous
#871A82 #871A4B #87201A
triadic
#871A4B #4B871A #1A4B87
tetradic
#871A4B #82871A #1A8756 #201A87
square
#871A4B #82871A #1A8756 #201A87
split-complementary
#871A4B #1A8720 #1A8287
monochromatic
#200612 #54102E #871A4B #BA2468 #DA4186

Accessibility & contrast

On white

9.21
#871A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A4B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A4B#FFFFFF#000000##FFFFFF
##871A4B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4C
Deuteranopia (green-blind)
#514F49
Tritanopia (blue-blind)
#930330
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a4b;
/* rgb */ color: rgb(135, 26, 75);
/* oklch */ color: oklch(41.9% 0.148 359.0);
Tailwind
colors: {
  custom: {
    50: '#af637d',
    500: '#871a4b',
    950: '#000000',
  },
}
SCSS
$custom: #871a4b;
$custom-light: #af637d;
$custom-dark: #000000;
JSON
{
  "hex": "#871a4b",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 333.028,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.14836,
    "h": 359
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#871A4B
secondary
#42BA84
accent
#EB9D3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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