#D9407C#D9407C

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

Color values

HEX#D9407C
RGBrgb(217, 64, 124)
HSLhsl(336, 67%, 55%)
HSVhsv(336, 71%, 85%)
CMYKcmyk(0%, 70.5%, 42.9%, 14.9%)
CIE-LABlab(51.70, 63.44, 0.97)
CIE-LCHlch(51.70, 63.45, 0.88°)
OKLaboklab(60.9% 0.1944 0.0032)
OKLCHoklch(60.9% 0.194 1)
XYZxyz(34.0893, 19.8781, 21.1066)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9407C #40D99D
analogous
#D940C8 #D9407C #D95140
triadic
#D9407C #7CD940 #407CD9
tetradic
#D9407C #C8D940 #40D99D #5140D9
square
#D9407C #C8D940 #40D99D #5140D9
split-complementary
#D9407C #40D951 #40C8D9
monochromatic
#841A44 #B7245E #D9407C #E3739F #EDA6C2

Accessibility & contrast

On white

4.22
#D9407C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9407C#FFFFFF#000000##000000
##D9407C1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687E
Deuteranopia (green-blind)
#8A8678
Tritanopia (blue-blind)
#EB2A59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9407c;
/* rgb */ color: rgb(217, 64, 124);
/* oklch */ color: oklch(60.9% 0.194 1.0);
Tailwind
colors: {
  custom: {
    50: '#ea80a1',
    500: '#d9407c',
    950: '#000000',
  },
}
SCSS
$custom: #d9407c;
$custom-light: #ea80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9407c",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 336.471,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.609,
    "c": 0.19444,
    "h": 1
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#D9407C
secondary
#9ADAC1
accent
#EAA63E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D9407C

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

Preview Lab → · Contrast checker → · Palette generator →

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