#871973#871973

#871973 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 336.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#871973
RGBrgb(135, 25, 115)
HSLhsl(311, 69%, 31%)
HSVhsv(311, 81%, 53%)
CMYKcmyk(0%, 81.5%, 14.8%, 47.1%)
CIE-LABlab(32.00, 53.55, -24.67)
CIE-LCHlch(32.00, 58.96, 335.26°)
OKLaboklab(43.67% 0.158 -0.0672)
OKLCHoklch(43.67% 0.172 336.9)
XYZxyz(13.4341, 7.0853, 16.8764)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871973 #19872D
analogous
#641987 #871973 #87193C
triadic
#871973 #738719 #197387
tetradic
#871973 #876419 #19872D #193C87
square
#871973 #876419 #19872D #193C87
split-complementary
#871973 #3C8719 #198764
monochromatic
#20061B #530F47 #871973 #BB239F #DB3FBF

Accessibility & contrast

On white

8.69
#871973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871973
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871973#FFFFFF#000000##FFFFFF
##8719731.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4175
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#8F2145
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871973;
/* rgb */ color: rgb(135, 25, 115);
/* oklch */ color: oklch(43.7% 0.172 336.9);
Tailwind
colors: {
  custom: {
    50: '#ae649b',
    500: '#871973',
    950: '#000000',
  },
}
SCSS
$custom: #871973;
$custom-light: #ae649b;
$custom-dark: #000000;
JSON
{
  "hex": "#871973",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 310.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43665,
    "c": 0.17167,
    "h": 336.9
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#871973
secondary
#41BA57
accent
#EC5C3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871973

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

Preview Lab → · Contrast checker → · Palette generator →

#871973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva