#DF407F#DF407F

#DF407F is a mid, highly saturated pink. Relative luminance 0.209; OKLCH L 62.0% C 0.201 H 0.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#DF407F
RGBrgb(223, 64, 127)
HSLhsl(336, 71%, 56%)
HSVhsv(336, 71%, 87%)
CMYKcmyk(0%, 71.3%, 43%, 12.5%)
CIE-LABlab(52.83, 65.41, 0.95)
CIE-LCHlch(52.83, 65.42, 0.83°)
OKLaboklab(61.96% 0.2005 0.0032)
OKLCHoklch(61.96% 0.201 0.9)
XYZxyz(36.0983, 20.8917, 22.2061)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF407F #40DFA0
analogous
#DF40CF #DF407F #DF5140
triadic
#DF407F #7FDF40 #407FDF
tetradic
#DF407F #CFDF40 #40DFA0 #5140DF
square
#DF407F #CFDF40 #40DFA0 #5140DF
split-complementary
#DF407F #40DF51 #40CFDF
monochromatic
#8D1846 #C12060 #DF407F #E874A2 #F1A9C5

Accessibility & contrast

On white

4.06
#DF407F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#DF407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF407F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF407F#FFFFFF#000000##000000
##DF407F1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#626B81
Deuteranopia (green-blind)
#8D897B
Tritanopia (blue-blind)
#F2285B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df407f;
/* rgb */ color: rgb(223, 64, 127);
/* oklch */ color: oklch(62.0% 0.201 0.9);
Tailwind
colors: {
  custom: {
    50: '#ef81a3',
    500: '#df407f',
    950: '#000000',
  },
}
SCSS
$custom: #df407f;
$custom-light: #ef81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#df407f",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 336.226,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.20054,
    "h": 0.9
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#DF407F
secondary
#9DDEC4
accent
#EEA73A
background
#FFF8FA
surface
#FFEFF3
border
#D7CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #DF407F

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

Preview Lab → · Contrast checker → · Palette generator →

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