#8D1774#8D1774

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

Color values

HEX#8D1774
RGBrgb(141, 23, 116)
HSLhsl(313, 72%, 32%)
HSVhsv(313, 84%, 55%)
CMYKcmyk(0%, 83.7%, 17.7%, 44.7%)
CIE-LABlab(33.00, 55.61, -23.66)
CIE-LCHlch(33.00, 60.43, 336.95°)
OKLaboklab(44.61% 0.1655 -0.0642)
OKLCHoklch(44.61% 0.178 338.8)
XYZxyz(14.4437, 7.5379, 17.2139)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1774 #178D30
analogous
#6B178D #8D1774 #8D1739
triadic
#8D1774 #748D17 #17748D
tetradic
#8D1774 #8D6B17 #178D30 #17398D
square
#8D1774 #8D6B17 #178D30 #17398D
split-complementary
#8D1774 #398D17 #178D6B
monochromatic
#24061D #580E49 #8D1774 #C2209F #E03FBE

Accessibility & contrast

On white

8.38
#8D1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8D1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1774
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1774#FFFFFF#000000##FFFFFF
##8D17741.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#951E45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d1774;
/* rgb */ color: rgb(141, 23, 116);
/* oklch */ color: oklch(44.6% 0.177 338.8);
Tailwind
colors: {
  custom: {
    50: '#b2659c',
    500: '#8d1774',
    950: '#000000',
  },
}
SCSS
$custom: #8d1774;
$custom-light: #b2659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1774",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 312.712,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.1775,
    "h": 338.8
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#8D1774
secondary
#40C05B
accent
#EF6039
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8D1774

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

Preview Lab → · Contrast checker → · Palette generator →

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