#D9407E#D9407E

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

Color values

HEX#D9407E
RGBrgb(217, 64, 126)
HSLhsl(336, 67%, 55%)
HSVhsv(336, 71%, 85%)
CMYKcmyk(0%, 70.5%, 41.9%, 14.9%)
CIE-LABlab(51.76, 63.63, -0.14)
CIE-LCHlch(51.76, 63.63, 359.87°)
OKLaboklab(60.96% 0.1951 0.0004)
OKLCHoklch(60.96% 0.195 0.1)
XYZxyz(34.2170, 19.9292, 21.7795)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9407E #40D99B
analogous
#D940CB #D9407E #D94E40
triadic
#D9407E #7ED940 #407ED9
tetradic
#D9407E #CBD940 #40D99B #4E40D9
square
#D9407E #CBD940 #40D99B #4E40D9
split-complementary
#D9407E #40D94E #40CBD9
monochromatic
#841A45 #B72460 #D9407E #E373A0 #EDA6C3

Accessibility & contrast

On white

4.21
#D9407E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D9407E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9407E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9407E#FFFFFF#000000##000000
##D9407E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#89867A
Tritanopia (blue-blind)
#EB2B5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9407e;
/* rgb */ color: rgb(217, 64, 126);
/* oklch */ color: oklch(61.0% 0.195 0.1);
Tailwind
colors: {
  custom: {
    50: '#ea80a3',
    500: '#d9407e',
    950: '#000000',
  },
}
SCSS
$custom: #d9407e;
$custom-light: #ea80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d9407e",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 335.686,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60962,
    "c": 0.19507,
    "h": 0.1
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

primary
#D9407E
secondary
#9ADAC0
accent
#EAA43E
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D9407E

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

Preview Lab → · Contrast checker → · Palette generator →

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