#DF42B9#DF42B9

#DF42B9 is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.3% C 0.227 H 339.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#DF42B9
RGBrgb(223, 66, 185)
HSLhsl(315, 71%, 57%)
HSVhsv(315, 70%, 87%)
CMYKcmyk(0%, 70.4%, 17%, 12.5%)
CIE-LABlab(55.17, 71.46, -29.70)
CIE-LCHlch(55.17, 77.39, 337.43°)
OKLaboklab(64.35% 0.2123 -0.0803)
OKLCHoklch(64.35% 0.227 339.3)
XYZxyz(41.1376, 23.0911, 48.1800)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42B9 #42DF68
analogous
#B642DF #DF42B9 #DF426B
triadic
#DF42B9 #B9DF42 #42B9DF
tetradic
#DF42B9 #DFB642 #42DF68 #426BDF
square
#DF42B9 #DFB642 #42DF68 #426BDF
split-complementary
#DF42B9 #6BDF42 #42DFB6
monochromatic
#8E1872 #C3219C #DF42B9 #E876CC #F1ABE0

Accessibility & contrast

On white

3.74
#DF42B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#DF42B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42B9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42B9#FFFFFF#000000##000000
##DF42B91.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BC
Deuteranopia (green-blind)
#7E8DB5
Tritanopia (blue-blind)
#EC4878
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df42b9;
/* rgb */ color: rgb(223, 66, 185);
/* oklch */ color: oklch(64.3% 0.227 339.3);
Tailwind
colors: {
  custom: {
    50: '#ed83ce',
    500: '#df42b9',
    950: '#000000',
  },
}
SCSS
$custom: #df42b9;
$custom-light: #ed83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#df42b9",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 314.522,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64349,
    "c": 0.22697,
    "h": 339.3
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#DF42B9
secondary
#9EDFAE
accent
#EE663A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DF42B9

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

Preview Lab → · Contrast checker → · Palette generator →

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