#DF417B#DF417B

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

Color values

HEX#DF417B
RGBrgb(223, 65, 123)
HSLhsl(338, 71%, 56%)
HSVhsv(338, 71%, 87%)
CMYKcmyk(0%, 70.9%, 44.8%, 12.5%)
CIE-LABlab(52.84, 64.69, 3.36)
CIE-LCHlch(52.84, 64.78, 2.98°)
OKLaboklab(61.93% 0.1981 0.0094)
OKLCHoklch(61.93% 0.198 2.7)
XYZxyz(35.8997, 20.9033, 20.8793)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF417B #41DFA5
analogous
#DF41CA #DF417B #DF5641
triadic
#DF417B #7BDF41 #417BDF
tetradic
#DF417B #CADF41 #41DFA5 #5641DF
square
#DF417B #CADF41 #41DFA5 #5641DF
split-complementary
#DF417B #41DF56 #41CADF
monochromatic
#8E1843 #C2215C #DF417B #E8759F #F1AAC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF417B#FFFFFF#000000##000000
##DF417B1.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)
#646B7C
Deuteranopia (green-blind)
#8E8977
Tritanopia (blue-blind)
#F22759
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #df417b;
/* rgb */ color: rgb(223, 65, 123);
/* oklch */ color: oklch(61.9% 0.198 2.7);
Tailwind
colors: {
  custom: {
    50: '#ef81a1',
    500: '#df417b',
    950: '#000000',
  },
}
SCSS
$custom: #df417b;
$custom-light: #ef81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#df417b",
  "rgb": {
    "r": 223,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 337.975,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.19828,
    "h": 2.7
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF417B

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

Preview Lab → · Contrast checker → · Palette generator →

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