#D9407D#D9407D

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

Color values

HEX#D9407D
RGBrgb(217, 64, 125)
HSLhsl(336, 67%, 55%)
HSVhsv(336, 71%, 85%)
CMYKcmyk(0%, 70.5%, 42.4%, 14.9%)
CIE-LABlab(51.73, 63.54, 0.41)
CIE-LCHlch(51.73, 63.54, 0.37°)
OKLaboklab(60.93% 0.1947 0.0018)
OKLCHoklch(60.93% 0.195 0.5)
XYZxyz(34.1528, 19.9035, 21.4413)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9407D #40D99C
analogous
#D940CA #D9407D #D94F40
triadic
#D9407D #7DD940 #407DD9
tetradic
#D9407D #CAD940 #40D99C #4F40D9
square
#D9407D #CAD940 #40D99C #4F40D9
split-complementary
#D9407D #40D94F #40CAD9
monochromatic
#841A45 #B7245F #D9407D #E373A0 #EDA6C2

Accessibility & contrast

On white

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

On black

4.98
#D9407D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9407D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9407D#FFFFFF#000000##000000
##D9407D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#60697F
Deuteranopia (green-blind)
#8A8679
Tritanopia (blue-blind)
#EB2A59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9407d;
/* rgb */ color: rgb(217, 64, 125);
/* oklch */ color: oklch(60.9% 0.195 0.5);
Tailwind
colors: {
  custom: {
    50: '#ea80a2',
    500: '#d9407d',
    950: '#000000',
  },
}
SCSS
$custom: #d9407d;
$custom-light: #ea80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d9407d",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 336.078,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.19475,
    "h": 0.5
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9407D

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

Preview Lab → · Contrast checker → · Palette generator →

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