#DF42B4#DF42B4

#DF42B4 is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.1% C 0.224 H 341.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DF42B4
RGBrgb(223, 66, 180)
HSLhsl(316, 71%, 57%)
HSVhsv(316, 70%, 87%)
CMYKcmyk(0%, 70.4%, 19.3%, 12.5%)
CIE-LABlab(54.95, 70.79, -27.14)
CIE-LCHlch(54.95, 75.81, 339.03°)
OKLaboklab(64.12% 0.2116 -0.073)
OKLCHoklch(64.12% 0.224 341)
XYZxyz(40.6190, 22.8837, 45.4490)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42B4 #42DF6D
analogous
#BC42DF #DF42B4 #DF4266
triadic
#DF42B4 #B4DF42 #42B4DF
tetradic
#DF42B4 #DFBC42 #42DF6D #4266DF
square
#DF42B4 #DFBC42 #42DF6D #4266DF
split-complementary
#DF42B4 #66DF42 #42DFBC
monochromatic
#8E186E #C32196 #DF42B4 #E876C9 #F1ABDE

Accessibility & contrast

On white

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

On black

5.58
#DF42B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42B4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42B4#FFFFFF#000000##000000
##DF42B41.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B7
Deuteranopia (green-blind)
#7F8DB0
Tritanopia (blue-blind)
#EC4576
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df42b4;
/* rgb */ color: rgb(223, 66, 180);
/* oklch */ color: oklch(64.1% 0.224 341.0);
Tailwind
colors: {
  custom: {
    50: '#ed83ca',
    500: '#df42b4',
    950: '#000000',
  },
}
SCSS
$custom: #df42b4;
$custom-light: #ed83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#df42b4",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 316.433,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64124,
    "c": 0.2238,
    "h": 341
  },
  "luminance": 0.2288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF42B4

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

Preview Lab → · Contrast checker → · Palette generator →

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