#DF417C#DF417C

#DF417C is a mid, vivid pink. Relative luminance 0.209; OKLCH L 62.0% C 0.199 H 2.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#DF417C
RGBrgb(223, 65, 124)
HSLhsl(338, 71%, 56%)
HSVhsv(338, 71%, 87%)
CMYKcmyk(0%, 70.9%, 44.4%, 12.5%)
CIE-LABlab(52.87, 64.78, 2.80)
CIE-LCHlch(52.87, 64.84, 2.48°)
OKLaboklab(61.96% 0.1984 0.0079)
OKLCHoklch(61.96% 0.199 2.3)
XYZxyz(35.9626, 20.9284, 21.2107)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF417C #41DFA4
analogous
#DF41CB #DF417C #DF5541
triadic
#DF417C #7CDF41 #417CDF
tetradic
#DF417C #CBDF41 #41DFA4 #5541DF
square
#DF417C #CBDF41 #41DFA4 #5541DF
split-complementary
#DF417C #41DF55 #41CBDF
monochromatic
#8E1844 #C2215D #DF417C #E875A0 #F1AAC4

Accessibility & contrast

On white

4.05
#DF417C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF417C#FFFFFF#000000##000000
##DF417C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7D
Deuteranopia (green-blind)
#8E8978
Tritanopia (blue-blind)
#F2285A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df417c;
/* rgb */ color: rgb(223, 65, 124);
/* oklch */ color: oklch(62.0% 0.199 2.3);
Tailwind
colors: {
  custom: {
    50: '#ef81a1',
    500: '#df417c',
    950: '#000000',
  },
}
SCSS
$custom: #df417c;
$custom-light: #ef81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#df417c",
  "rgb": {
    "r": 223,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 337.595,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.19856,
    "h": 2.3
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#DF417C
secondary
#9DDEC6
accent
#EEAB3A
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180B0F
muted
#867C7E

Preview Lab

Preview with #DF417C

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

Preview Lab → · Contrast checker → · Palette generator →

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