#D9407A#D9407A

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

Color values

HEX#D9407A
RGBrgb(217, 64, 122)
HSLhsl(337, 67%, 55%)
HSVhsv(337, 71%, 85%)
CMYKcmyk(0%, 70.5%, 43.8%, 14.9%)
CIE-LABlab(51.64, 63.25, 2.09)
CIE-LCHlch(51.64, 63.28, 1.90°)
OKLaboklab(60.84% 0.1937 0.0061)
OKLCHoklch(60.84% 0.194 1.8)
XYZxyz(33.9641, 19.8280, 20.4472)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9407A #40D99F
analogous
#D940C6 #D9407A #D95340
triadic
#D9407A #7AD940 #407AD9
tetradic
#D9407A #C6D940 #40D99F #5340D9
square
#D9407A #C6D940 #40D99F #5340D9
split-complementary
#D9407A #40D953 #40C6D9
monochromatic
#841A42 #B7245C #D9407A #E3739E #EDA6C1

Accessibility & contrast

On white

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

On black

4.96
#D9407A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9407A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9407A#FFFFFF#000000##000000
##D9407A1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687B
Deuteranopia (green-blind)
#8A8676
Tritanopia (blue-blind)
#EB2958
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9407a;
/* rgb */ color: rgb(217, 64, 122);
/* oklch */ color: oklch(60.8% 0.194 1.8);
Tailwind
colors: {
  custom: {
    50: '#ea80a0',
    500: '#d9407a',
    950: '#000000',
  },
}
SCSS
$custom: #d9407a;
$custom-light: #ea80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d9407a",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 337.255,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.19384,
    "h": 1.8
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9407A

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

Preview Lab → · Contrast checker → · Palette generator →

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