#DF42A9#DF42A9

#DF42A9 is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.7% C 0.217 H 344.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#DF42A9
RGBrgb(223, 66, 169)
HSLhsl(321, 71%, 57%)
HSVhsv(321, 70%, 87%)
CMYKcmyk(0%, 70.4%, 24.2%, 12.5%)
CIE-LABlab(54.50, 69.36, -21.42)
CIE-LCHlch(54.50, 72.59, 342.84°)
OKLaboklab(63.65% 0.2096 -0.057)
OKLCHoklch(63.65% 0.217 344.8)
XYZxyz(39.5426, 22.4531, 39.7798)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42A9 #42DF78
analogous
#C742DF #DF42A9 #DF425B
triadic
#DF42A9 #A9DF42 #42A9DF
tetradic
#DF42A9 #DFC742 #42DF78 #425BDF
square
#DF42A9 #DFC742 #42DF78 #425BDF
split-complementary
#DF42A9 #5BDF42 #42DFC7
monochromatic
#8E1866 #C3218B #DF42A9 #E876C1 #F1ABD9

Accessibility & contrast

On white

3.83
#DF42A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#DF42A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42A9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42A9#FFFFFF#000000##000000
##DF42A91.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AC
Deuteranopia (green-blind)
#838CA5
Tritanopia (blue-blind)
#EE4070
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #df42a9;
/* rgb */ color: rgb(223, 66, 169);
/* oklch */ color: oklch(63.7% 0.217 344.8);
Tailwind
colors: {
  custom: {
    50: '#ed83c2',
    500: '#df42a9',
    950: '#000000',
  },
}
SCSS
$custom: #df42a9;
$custom-light: #ed83c2;
$custom-dark: #000000;
JSON
{
  "hex": "#df42a9",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 320.637,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.21719,
    "h": 344.8
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#DF42A9
secondary
#9EDFB4
accent
#EE783A
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF42A9

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

Preview Lab → · Contrast checker → · Palette generator →

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