#9D407D#9D407D

#9D407D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.6% C 0.143 H 343.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D407D
RGBrgb(157, 64, 125)
HSLhsl(321, 42%, 43%)
HSVhsv(321, 59%, 62%)
CMYKcmyk(0%, 59.2%, 20.4%, 38.4%)
CIE-LABlab(41.72, 45.82, -15.59)
CIE-LCHlch(41.72, 48.40, 341.21°)
OKLaboklab(51.62% 0.1368 -0.0415)
OKLCHoklch(51.62% 0.143 343.1)
XYZxyz(19.4402, 12.3173, 20.7517)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D407D #409D60
analogous
#8E409D #9D407D #9D404E
triadic
#9D407D #7D9D40 #407D9D
tetradic
#9D407D #9D8E40 #409D60 #404E9D
square
#9D407D #9D8E40 #409D60 #404E9D
split-complementary
#9D407D #4E9D40 #409D8E
monochromatic
#461D38 #722E5A #9D407D #BD5D9C #CF89B7

Accessibility & contrast

On white

6.06
#9D407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9D407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D407D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D407D#FFFFFF#000000##FFFFFF
##9D407D1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#A64059
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d407d;
/* rgb */ color: rgb(157, 64, 125);
/* oklch */ color: oklch(51.6% 0.143 343.1);
Tailwind
colors: {
  custom: {
    50: '#bd7aa2',
    500: '#9d407d',
    950: '#000000',
  },
}
SCSS
$custom: #9d407d;
$custom-light: #bd7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d407d",
  "rgb": {
    "r": 157,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 320.645,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.14298,
    "h": 343.1
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#9D407D
secondary
#7FB993
accent
#D28156
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9D407D

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

Preview Lab → · Contrast checker → · Palette generator →

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