#DF417A#DF417A

#DF417A is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.198 H 3.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#DF417A
RGBrgb(223, 65, 122)
HSLhsl(338, 71%, 56%)
HSVhsv(338, 71%, 87%)
CMYKcmyk(0%, 70.9%, 45.3%, 12.5%)
CIE-LABlab(52.82, 64.60, 3.92)
CIE-LCHlch(52.82, 64.72, 3.48°)
OKLaboklab(61.9% 0.1977 0.0108)
OKLCHoklch(61.9% 0.198 3.1)
XYZxyz(35.8374, 20.8783, 20.5513)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF417A #41DFA6
analogous
#DF41C9 #DF417A #DF5741
triadic
#DF417A #7ADF41 #417ADF
tetradic
#DF417A #C9DF41 #41DFA6 #5741DF
square
#DF417A #C9DF41 #41DFA6 #5741DF
split-complementary
#DF417A #41DF57 #41C9DF
monochromatic
#8E1842 #C2215B #DF417A #E8759F #F1AAC3

Accessibility & contrast

On white

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

On black

5.17
#DF417A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF417A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF417A#FFFFFF#000000##000000
##DF417A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7B
Deuteranopia (green-blind)
#8E8976
Tritanopia (blue-blind)
#F22759
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df417a;
/* rgb */ color: rgb(223, 65, 122);
/* oklch */ color: oklch(61.9% 0.198 3.1);
Tailwind
colors: {
  custom: {
    50: '#ef81a0',
    500: '#df417a',
    950: '#000000',
  },
}
SCSS
$custom: #df417a;
$custom-light: #ef81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#df417a",
  "rgb": {
    "r": 223,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 338.354,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.619,
    "c": 0.198,
    "h": 3.1
  },
  "luminance": 0.20874
}

Semantic roles & 50–950 ramp

primary
#DF417A
secondary
#9DDEC7
accent
#EEAD3A
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180B0E
muted
#867C7E

Preview Lab

Preview with #DF417A

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

Preview Lab → · Contrast checker → · Palette generator →

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