#DF417F#DF417F

#DF417F is a light, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.199 H 1.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#DF417F
RGBrgb(223, 65, 127)
HSLhsl(336, 71%, 56%)
HSVhsv(336, 71%, 87%)
CMYKcmyk(0%, 70.9%, 43%, 12.5%)
CIE-LABlab(52.96, 65.06, 1.13)
CIE-LCHlch(52.96, 65.07, 1.00°)
OKLaboklab(62.05% 0.1994 0.0037)
OKLCHoklch(62.05% 0.199 1.1)
XYZxyz(36.1552, 21.0055, 22.2251)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF417F #41DFA1
analogous
#DF41CE #DF417F #DF5241
triadic
#DF417F #7FDF41 #417FDF
tetradic
#DF417F #CEDF41 #41DFA1 #5241DF
square
#DF417F #CEDF41 #41DFA1 #5241DF
split-complementary
#DF417F #41DF52 #41CEDF
monochromatic
#8E1846 #C22160 #DF417F #E875A2 #F1AAC6

Accessibility & contrast

On white

4.04
#DF417F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#DF417F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF417F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF417F#FFFFFF#000000##000000
##DF417F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B81
Deuteranopia (green-blind)
#8D8A7B
Tritanopia (blue-blind)
#F22A5B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df417f;
/* rgb */ color: rgb(223, 65, 127);
/* oklch */ color: oklch(62.0% 0.199 1.1);
Tailwind
colors: {
  custom: {
    50: '#ef81a3',
    500: '#df417f',
    950: '#000000',
  },
}
SCSS
$custom: #df417f;
$custom-light: #ef81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#df417f",
  "rgb": {
    "r": 223,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 336.456,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62049,
    "c": 0.19943,
    "h": 1.1
  },
  "luminance": 0.21001
}

Semantic roles & 50–950 ramp

primary
#DF417F
secondary
#9DDEC5
accent
#EEA73A
background
#FFF8FA
surface
#FFF0F3
border
#D7CBCD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #DF417F

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

Preview Lab → · Contrast checker → · Palette generator →

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