#DF42A7#DF42A7

#DF42A7 is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.6% C 0.216 H 345.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#DF42A7
RGBrgb(223, 66, 167)
HSLhsl(321, 71%, 57%)
HSVhsv(321, 70%, 87%)
CMYKcmyk(0%, 70.4%, 25.1%, 12.5%)
CIE-LABlab(54.43, 69.11, -20.37)
CIE-LCHlch(54.43, 72.05, 343.58°)
OKLaboklab(63.57% 0.2092 -0.0541)
OKLCHoklch(63.57% 0.216 345.5)
XYZxyz(39.3563, 22.3786, 38.7986)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42A7 #42DF7A
analogous
#C842DF #DF42A7 #DF4259
triadic
#DF42A7 #A7DF42 #42A7DF
tetradic
#DF42A7 #DFC842 #42DF7A #4259DF
square
#DF42A7 #DFC842 #42DF7A #4259DF
split-complementary
#DF42A7 #59DF42 #42DFC8
monochromatic
#8E1864 #C32189 #DF42A7 #E876BF #F1ABD8

Accessibility & contrast

On white

3.84
#DF42A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#DF42A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42A7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42A7#FFFFFF#000000##000000
##DF42A71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#848CA3
Tritanopia (blue-blind)
#EE3F6F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #df42a7;
/* rgb */ color: rgb(223, 66, 167);
/* oklch */ color: oklch(63.6% 0.216 345.5);
Tailwind
colors: {
  custom: {
    50: '#ed83c1',
    500: '#df42a7',
    950: '#000000',
  },
}
SCSS
$custom: #df42a7;
$custom-light: #ed83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#df42a7",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 321.401,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63569,
    "c": 0.21605,
    "h": 345.5
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#DF42A7
secondary
#9EDFB5
accent
#EE7A3A
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF42A7

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

Preview Lab → · Contrast checker → · Palette generator →

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