#DF42BD#DF42BD

#DF42BD is a light, highly saturated pink. Relative luminance 0.233; OKLCH L 64.5% C 0.230 H 338.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#DF42BD
RGBrgb(223, 66, 189)
HSLhsl(313, 71%, 57%)
HSVhsv(313, 70%, 87%)
CMYKcmyk(0%, 70.4%, 15.2%, 12.5%)
CIE-LABlab(55.34, 72.01, -31.74)
CIE-LCHlch(55.34, 78.70, 336.21°)
OKLaboklab(64.53% 0.2128 -0.0861)
OKLCHoklch(64.53% 0.23 338)
XYZxyz(41.5658, 23.2624, 50.4352)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42BD #42DF64
analogous
#B342DF #DF42BD #DF426F
triadic
#DF42BD #BDDF42 #42BDDF
tetradic
#DF42BD #DFB342 #42DF64 #426FDF
square
#DF42BD #DFB342 #42DF64 #426FDF
split-complementary
#DF42BD #6FDF42 #42DFB3
monochromatic
#8E1875 #C321A0 #DF42BD #E876CF #F1ABE2

Accessibility & contrast

On white

3.72
#DF42BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#DF42BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42BD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42BD#FFFFFF#000000##000000
##DF42BD1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#EB4A7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df42bd;
/* rgb */ color: rgb(223, 66, 189);
/* oklch */ color: oklch(64.5% 0.230 338.0);
Tailwind
colors: {
  custom: {
    50: '#ed84d1',
    500: '#df42bd',
    950: '#000000',
  },
}
SCSS
$custom: #df42bd;
$custom-light: #ed84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#df42bd",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 312.994,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64533,
    "c": 0.22958,
    "h": 338
  },
  "luminance": 0.23259
}

Semantic roles & 50–950 ramp

primary
#DF42BD
secondary
#9EDFAC
accent
#EE613A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DF42BD

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

Preview Lab → · Contrast checker → · Palette generator →

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