#8D1772#8D1772

#8D1772 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.176 H 339.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8D1772
RGBrgb(141, 23, 114)
HSLhsl(314, 72%, 32%)
HSVhsv(314, 84%, 55%)
CMYKcmyk(0%, 83.7%, 19.1%, 44.7%)
CIE-LABlab(32.90, 55.33, -22.55)
CIE-LCHlch(32.90, 59.74, 337.83°)
OKLaboklab(44.51% 0.1653 -0.061)
OKLCHoklch(44.51% 0.176 339.7)
XYZxyz(14.3286, 7.4919, 16.6078)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1772 #178D32
analogous
#6D178D #8D1772 #8D1737
triadic
#8D1772 #728D17 #17728D
tetradic
#8D1772 #8D6D17 #178D32 #17378D
square
#8D1772 #8D6D17 #178D32 #17378D
split-complementary
#8D1772 #378D17 #178D6D
monochromatic
#24061D #580E47 #8D1772 #C2209D #E03FBB

Accessibility & contrast

On white

8.41
#8D1772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1772
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1772#FFFFFF#000000##FFFFFF
##8D17721.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#961C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1772;
/* rgb */ color: rgb(141, 23, 114);
/* oklch */ color: oklch(44.5% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#b2659b',
    500: '#8d1772',
    950: '#000000',
  },
}
SCSS
$custom: #8d1772;
$custom-light: #b2659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1772",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 313.729,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.17618,
    "h": 339.7
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#8D1772
secondary
#40C05D
accent
#EF6339
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1772

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

Preview Lab → · Contrast checker → · Palette generator →

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