#8D407D#8D407D

#8D407D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.3% C 0.130 H 336.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D407D
RGBrgb(141, 64, 125)
HSLhsl(312, 38%, 40%)
HSVhsv(312, 55%, 55%)
CMYKcmyk(0%, 54.6%, 11.3%, 44.7%)
CIE-LABlab(39.26, 40.84, -19.57)
CIE-LCHlch(39.26, 45.29, 334.40°)
OKLaboklab(49.31% 0.1187 -0.0529)
OKLCHoklch(49.31% 0.13 336)
XYZxyz(16.5197, 10.8114, 20.6148)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D407D #408D50
analogous
#77408D #8D407D #8D4056
triadic
#8D407D #7D8D40 #407D8D
tetradic
#8D407D #8D7740 #408D50 #40568D
square
#8D407D #8D7740 #408D50 #40568D
split-complementary
#8D407D #568D40 #408D77
monochromatic
#391A32 #632D58 #8D407D #B357A0 #C681B8

Accessibility & contrast

On white

6.64
#8D407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D407D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D407D#FFFFFF#000000##FFFFFF
##8D407D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#934459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d407d;
/* rgb */ color: rgb(141, 64, 125);
/* oklch */ color: oklch(49.3% 0.130 336.0);
Tailwind
colors: {
  custom: {
    50: '#b078a2',
    500: '#8d407d',
    950: '#000000',
  },
}
SCSS
$custom: #8d407d;
$custom-light: #b078a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d407d",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 312.468,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.13,
    "h": 336
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#8D407D
secondary
#78B084
accent
#CE725A
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8D407D

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

Preview Lab → · Contrast checker → · Palette generator →

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