#871A4C#871A4C

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

Color values

HEX#871A4C
RGBrgb(135, 26, 76)
HSLhsl(332, 68%, 32%)
HSVhsv(332, 81%, 53%)
CMYKcmyk(0%, 80.7%, 43.7%, 47.1%)
CIE-LABlab(30.43, 48.35, -1.78)
CIE-LCHlch(30.43, 48.38, 357.89°)
OKLaboklab(41.98% 0.1487 -0.0041)
OKLCHoklch(41.98% 0.149 358.4)
XYZxyz(11.6665, 6.4130, 7.4596)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A4C #1A8755
analogous
#871A83 #871A4C #871F1A
triadic
#871A4C #4C871A #1A4C87
tetradic
#871A4C #83871A #1A8755 #1F1A87
square
#871A4C #83871A #1A8755 #1F1A87
split-complementary
#871A4C #1A871F #1A8387
monochromatic
#200612 #54102F #871A4C #BA2469 #DA4187

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A4C#FFFFFF#000000##FFFFFF
##871A4C1.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)
#333B4D
Deuteranopia (green-blind)
#514F4A
Tritanopia (blue-blind)
#930431
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a4c;
/* rgb */ color: rgb(135, 26, 76);
/* oklch */ color: oklch(42.0% 0.149 358.4);
Tailwind
colors: {
  custom: {
    50: '#af637d',
    500: '#871a4c',
    950: '#000000',
  },
}
SCSS
$custom: #871a4c;
$custom-light: #af637d;
$custom-dark: #000000;
JSON
{
  "hex": "#871a4c",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 332.477,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.14874,
    "h": 358.4
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#871A4C
secondary
#42BA83
accent
#EB9B3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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