#8D1773#8D1773

#8D1773 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.177 H 339.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8D1773
RGBrgb(141, 23, 115)
HSLhsl(313, 72%, 32%)
HSVhsv(313, 84%, 55%)
CMYKcmyk(0%, 83.7%, 18.4%, 44.7%)
CIE-LABlab(32.95, 55.47, -23.10)
CIE-LCHlch(32.95, 60.08, 337.39°)
OKLaboklab(44.56% 0.1654 -0.0626)
OKLCHoklch(44.56% 0.177 339.3)
XYZxyz(14.3858, 7.5148, 16.9092)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1773 #178D31
analogous
#6C178D #8D1773 #8D1738
triadic
#8D1773 #738D17 #17738D
tetradic
#8D1773 #8D6C17 #178D31 #17388D
square
#8D1773 #8D6C17 #178D31 #17388D
split-complementary
#8D1773 #388D17 #178D6C
monochromatic
#24061D #580E48 #8D1773 #C2209E #E03FBC

Accessibility & contrast

On white

8.39
#8D1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8D1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1773
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1773#FFFFFF#000000##FFFFFF
##8D17731.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204275
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#961D45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1773;
/* rgb */ color: rgb(141, 23, 115);
/* oklch */ color: oklch(44.6% 0.177 339.3);
Tailwind
colors: {
  custom: {
    50: '#b2659b',
    500: '#8d1773',
    950: '#000000',
  },
}
SCSS
$custom: #8d1773;
$custom-light: #b2659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1773",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 313.22,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44557,
    "c": 0.17683,
    "h": 339.3
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#8D1773
secondary
#40C05C
accent
#EF6139
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1773

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

Preview Lab → · Contrast checker → · Palette generator →

#8D1773 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva