#8D417D#8D417D

#8D417D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.5% C 0.128 H 336.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8D417D
RGBrgb(141, 65, 125)
HSLhsl(313, 37%, 40%)
HSVhsv(313, 54%, 55%)
CMYKcmyk(0%, 53.9%, 11.3%, 44.7%)
CIE-LABlab(39.45, 40.33, -19.27)
CIE-LCHlch(39.45, 44.69, 334.46°)
OKLaboklab(49.46% 0.1172 -0.0521)
OKLCHoklch(49.46% 0.128 336)
XYZxyz(16.5766, 10.9252, 20.6337)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D417D #418D51
analogous
#77418D #8D417D #8D4157
triadic
#8D417D #7D8D41 #417D8D
tetradic
#8D417D #8D7741 #418D51 #41578D
square
#8D417D #8D7741 #418D51 #41578D
split-complementary
#8D417D #578D41 #418D77
monochromatic
#391A33 #632E58 #8D417D #B259A0 #C683B8

Accessibility & contrast

On white

6.59
#8D417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8D417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D417D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D417D#FFFFFF#000000##FFFFFF
##8D417D1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#934459
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d417d;
/* rgb */ color: rgb(141, 65, 125);
/* oklch */ color: oklch(49.5% 0.128 336.0);
Tailwind
colors: {
  custom: {
    50: '#b079a2',
    500: '#8d417d',
    950: '#000000',
  },
}
SCSS
$custom: #8d417d;
$custom-light: #b079a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d417d",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 312.632,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.12829,
    "h": 336
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#8D417D
secondary
#79B085
accent
#CD735B
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8D417D

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

Preview Lab → · Contrast checker → · Palette generator →

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