#DF42B8#DF42B8

#DF42B8 is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.3% C 0.226 H 339.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#DF42B8
RGBrgb(223, 66, 184)
HSLhsl(315, 71%, 57%)
HSVhsv(315, 70%, 87%)
CMYKcmyk(0%, 70.4%, 17.5%, 12.5%)
CIE-LABlab(55.12, 71.33, -29.19)
CIE-LCHlch(55.12, 77.07, 337.74°)
OKLaboklab(64.3% 0.2122 -0.0788)
OKLCHoklch(64.3% 0.226 339.6)
XYZxyz(41.0324, 23.0490, 47.6260)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42B8 #42DF69
analogous
#B742DF #DF42B8 #DF426A
triadic
#DF42B8 #B8DF42 #42B8DF
tetradic
#DF42B8 #DFB742 #42DF69 #426ADF
square
#DF42B8 #DFB742 #42DF69 #426ADF
split-complementary
#DF42B8 #6ADF42 #42DFB7
monochromatic
#8E1871 #C3219B #DF42B8 #E876CC #F1ABDF

Accessibility & contrast

On white

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

On black

5.61
#DF42B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42B8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42B8#FFFFFF#000000##000000
##DF42B81.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#EC4778
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df42b8;
/* rgb */ color: rgb(223, 66, 184);
/* oklch */ color: oklch(64.3% 0.226 339.6);
Tailwind
colors: {
  custom: {
    50: '#ed83cd',
    500: '#df42b8',
    950: '#000000',
  },
}
SCSS
$custom: #df42b8;
$custom-light: #ed83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#df42b8",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 314.904,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.22633,
    "h": 339.6
  },
  "luminance": 0.23045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF42B8

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

Preview Lab → · Contrast checker → · Palette generator →

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