#D9407B#D9407B

#D9407B is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.194 H 1.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D9407B
RGBrgb(217, 64, 123)
HSLhsl(337, 67%, 55%)
HSVhsv(337, 71%, 85%)
CMYKcmyk(0%, 70.5%, 43.3%, 14.9%)
CIE-LABlab(51.67, 63.34, 1.53)
CIE-LCHlch(51.67, 63.36, 1.39°)
OKLaboklab(60.87% 0.1941 0.0047)
OKLCHoklch(60.87% 0.194 1.4)
XYZxyz(34.0264, 19.8529, 20.7752)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9407B #40D99E
analogous
#D940C7 #D9407B #D95240
triadic
#D9407B #7BD940 #407BD9
tetradic
#D9407B #C7D940 #40D99E #5240D9
square
#D9407B #C7D940 #40D99E #5240D9
split-complementary
#D9407B #40D952 #40C7D9
monochromatic
#841A43 #B7245D #D9407B #E3739E #EDA6C2

Accessibility & contrast

On white

4.23
#D9407B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D9407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9407B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9407B#FFFFFF#000000##000000
##D9407B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687C
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#EB2959
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9407b;
/* rgb */ color: rgb(217, 64, 123);
/* oklch */ color: oklch(60.9% 0.194 1.4);
Tailwind
colors: {
  custom: {
    50: '#ea80a1',
    500: '#d9407b',
    950: '#000000',
  },
}
SCSS
$custom: #d9407b;
$custom-light: #ea80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9407b",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 336.863,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.19414,
    "h": 1.4
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#D9407B
secondary
#9ADAC2
accent
#EAA83E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D9407B

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

Preview Lab → · Contrast checker → · Palette generator →

#D9407B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva