#871A73#871A73

#871A73 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.171 H 337.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#871A73
RGBrgb(135, 26, 115)
HSLhsl(311, 68%, 32%)
HSVhsv(311, 81%, 53%)
CMYKcmyk(0%, 80.7%, 14.8%, 47.1%)
CIE-LABlab(32.10, 53.27, -24.52)
CIE-LCHlch(32.10, 58.64, 335.28°)
OKLaboklab(43.74% 0.1571 -0.0668)
OKLCHoklch(43.74% 0.171 337)
XYZxyz(13.4559, 7.1288, 16.8837)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A73 #1A872E
analogous
#651A87 #871A73 #871A3D
triadic
#871A73 #73871A #1A7387
tetradic
#871A73 #87651A #1A872E #1A3D87
square
#871A73 #87651A #1A872E #1A3D87
split-complementary
#871A73 #3D871A #1A8765
monochromatic
#20061C #541047 #871A73 #BA249F #DA41BE

Accessibility & contrast

On white

8.66
#871A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#871A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A73
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A73#FFFFFF#000000##FFFFFF
##871A731.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#455171
Tritanopia (blue-blind)
#8F2246
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871a73;
/* rgb */ color: rgb(135, 26, 115);
/* oklch */ color: oklch(43.7% 0.171 337.0);
Tailwind
colors: {
  custom: {
    50: '#ae659b',
    500: '#871a73',
    950: '#000000',
  },
}
SCSS
$custom: #871a73;
$custom-light: #ae659b;
$custom-dark: #000000;
JSON
{
  "hex": "#871a73",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 311.009,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.17073,
    "h": 337
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#871A73
secondary
#42BA58
accent
#EB5D3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871A73

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

Preview Lab → · Contrast checker → · Palette generator →

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