#DF42B6#DF42B6

#DF42B6 is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.2% C 0.225 H 340.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#DF42B6
RGBrgb(223, 66, 182)
HSLhsl(316, 71%, 57%)
HSVhsv(316, 70%, 87%)
CMYKcmyk(0%, 70.4%, 18.4%, 12.5%)
CIE-LABlab(55.04, 71.06, -28.17)
CIE-LCHlch(55.04, 76.44, 338.38°)
OKLaboklab(64.21% 0.2119 -0.0759)
OKLCHoklch(64.21% 0.225 340.3)
XYZxyz(40.8242, 22.9658, 46.5297)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42B6 #42DF6B
analogous
#BA42DF #DF42B6 #DF4268
triadic
#DF42B6 #B6DF42 #42B6DF
tetradic
#DF42B6 #DFBA42 #42DF6B #4268DF
square
#DF42B6 #DFBA42 #42DF6B #4268DF
split-complementary
#DF42B6 #68DF42 #42DFBA
monochromatic
#8E1870 #C32199 #DF42B6 #E876CA #F1ABDE

Accessibility & contrast

On white

3.76
#DF42B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#DF42B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42B6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42B6#FFFFFF#000000##000000
##DF42B61.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D74B9
Deuteranopia (green-blind)
#7F8DB2
Tritanopia (blue-blind)
#EC4677
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df42b6;
/* rgb */ color: rgb(223, 66, 182);
/* oklch */ color: oklch(64.2% 0.225 340.3);
Tailwind
colors: {
  custom: {
    50: '#ed83cc',
    500: '#df42b6',
    950: '#000000',
  },
}
SCSS
$custom: #df42b6;
$custom-light: #ed83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#df42b6",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 315.669,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64213,
    "c": 0.22506,
    "h": 340.3
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#DF42B6
secondary
#9EDFAF
accent
#EE693A
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DF42B6

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

Preview Lab → · Contrast checker → · Palette generator →

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