#D9407F#D9407F

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

Color values

HEX#D9407F
RGBrgb(217, 64, 127)
HSLhsl(335, 67%, 55%)
HSVhsv(335, 71%, 85%)
CMYKcmyk(0%, 70.5%, 41.5%, 14.9%)
CIE-LABlab(51.79, 63.73, -0.70)
CIE-LCHlch(51.79, 63.74, 359.37°)
OKLaboklab(60.99% 0.1954 -0.0011)
OKLCHoklch(60.99% 0.195 359.7)
XYZxyz(34.2819, 19.9551, 22.1210)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9407F #40D99A
analogous
#D940CC #D9407F #D94D40
triadic
#D9407F #7FD940 #407FD9
tetradic
#D9407F #CCD940 #40D99A #4D40D9
square
#D9407F #CCD940 #40D99A #4D40D9
split-complementary
#D9407F #40D94D #40CCD9
monochromatic
#841A46 #B72461 #D9407F #E373A1 #EDA6C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9407F#FFFFFF#000000##000000
##D9407F1.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)
#606981
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#EB2B5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9407f;
/* rgb */ color: rgb(217, 64, 127);
/* oklch */ color: oklch(61.0% 0.195 359.7);
Tailwind
colors: {
  custom: {
    50: '#ea80a4',
    500: '#d9407f',
    950: '#000000',
  },
}
SCSS
$custom: #d9407f;
$custom-light: #ea80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9407f",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 335.294,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.1954,
    "h": 359.7
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9407F

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

Preview Lab → · Contrast checker → · Palette generator →

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