#8D1777#8D1777

#8D1777 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.180 H 337.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8D1777
RGBrgb(141, 23, 119)
HSLhsl(311, 72%, 32%)
HSVhsv(311, 84%, 55%)
CMYKcmyk(0%, 83.7%, 15.6%, 44.7%)
CIE-LABlab(33.15, 56.03, -25.32)
CIE-LCHlch(33.15, 61.49, 335.69°)
OKLaboklab(44.77% 0.1657 -0.0689)
OKLCHoklch(44.77% 0.18 337.4)
XYZxyz(14.6210, 7.6089, 18.1478)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1777 #178D2D
analogous
#68178D #8D1777 #8D173C
triadic
#8D1777 #778D17 #17778D
tetradic
#8D1777 #8D6817 #178D2D #173C8D
square
#8D1777 #8D6817 #178D2D #173C8D
split-complementary
#8D1777 #3C8D17 #178D68
monochromatic
#24061E #580E4B #8D1777 #C220A3 #E03FC2

Accessibility & contrast

On white

8.33
#8D1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8D1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1777
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1777#FFFFFF#000000##FFFFFF
##8D17771.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4379
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#952047
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1777;
/* rgb */ color: rgb(141, 23, 119);
/* oklch */ color: oklch(44.8% 0.180 337.4);
Tailwind
colors: {
  custom: {
    50: '#b2659e',
    500: '#8d1777',
    950: '#000000',
  },
}
SCSS
$custom: #8d1777;
$custom-light: #b2659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1777",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 311.186,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.17951,
    "h": 337.4
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#8D1777
secondary
#40C058
accent
#EF5B39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1777

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

Preview Lab → · Contrast checker → · Palette generator →

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