#DF42B3#DF42B3

#DF42B3 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.223 H 341.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DF42B3
RGBrgb(223, 66, 179)
HSLhsl(317, 71%, 57%)
HSVhsv(317, 70%, 87%)
CMYKcmyk(0%, 70.4%, 19.7%, 12.5%)
CIE-LABlab(54.91, 70.66, -26.62)
CIE-LCHlch(54.91, 75.50, 339.35°)
OKLaboklab(64.08% 0.2114 -0.0716)
OKLCHoklch(64.08% 0.223 341.3)
XYZxyz(40.5175, 22.8431, 44.9144)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42B3 #42DF6E
analogous
#BC42DF #DF42B3 #DF4265
triadic
#DF42B3 #B3DF42 #42B3DF
tetradic
#DF42B3 #DFBC42 #42DF6E #4265DF
square
#DF42B3 #DFBC42 #42DF6E #4265DF
split-complementary
#DF42B3 #65DF42 #42DFBC
monochromatic
#8E186D #C32195 #DF42B3 #E876C8 #F1ABDD

Accessibility & contrast

On white

3.77
#DF42B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DF42B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42B3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42B3#FFFFFF#000000##000000
##DF42B31.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B6
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#EC4575
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df42b3;
/* rgb */ color: rgb(223, 66, 179);
/* oklch */ color: oklch(64.1% 0.223 341.3);
Tailwind
colors: {
  custom: {
    50: '#ed83ca',
    500: '#df42b3',
    950: '#000000',
  },
}
SCSS
$custom: #df42b3;
$custom-light: #ed83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#df42b3",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 316.815,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64079,
    "c": 0.22318,
    "h": 341.3
  },
  "luminance": 0.22839
}

Semantic roles & 50–950 ramp

primary
#DF42B3
secondary
#9EDFB0
accent
#EE6C3A
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DF42B3

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

Preview Lab → · Contrast checker → · Palette generator →

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