#DF417D#DF417D

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

Color values

HEX#DF417D
RGBrgb(223, 65, 125)
HSLhsl(337, 71%, 56%)
HSVhsv(337, 71%, 87%)
CMYKcmyk(0%, 70.9%, 43.9%, 12.5%)
CIE-LABlab(52.90, 64.87, 2.25)
CIE-LCHlch(52.90, 64.91, 1.98°)
OKLaboklab(61.99% 0.1987 0.0065)
OKLCHoklch(61.99% 0.199 1.9)
XYZxyz(36.0261, 20.9539, 21.5454)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF417D #41DFA3
analogous
#DF41CC #DF417D #DF5441
triadic
#DF417D #7DDF41 #417DDF
tetradic
#DF417D #CCDF41 #41DFA3 #5441DF
square
#DF417D #CCDF41 #41DFA3 #5441DF
split-complementary
#DF417D #41DF54 #41CCDF
monochromatic
#8E1845 #C2215E #DF417D #E875A1 #F1AAC5

Accessibility & contrast

On white

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

On black

5.19
#DF417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF417D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF417D#FFFFFF#000000##000000
##DF417D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B7E
Deuteranopia (green-blind)
#8E8979
Tritanopia (blue-blind)
#F2285A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df417d;
/* rgb */ color: rgb(223, 65, 125);
/* oklch */ color: oklch(62.0% 0.199 1.9);
Tailwind
colors: {
  custom: {
    50: '#ef81a2',
    500: '#df417d',
    950: '#000000',
  },
}
SCSS
$custom: #df417d;
$custom-light: #ef81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#df417d",
  "rgb": {
    "r": 223,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 337.215,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.19884,
    "h": 1.9
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF417D

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

Preview Lab → · Contrast checker → · Palette generator →

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