#DF42C2#DF42C2

#DF42C2 is a light, highly saturated pink. Relative luminance 0.235; OKLCH L 64.8% C 0.233 H 336.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#DF42C2
RGBrgb(223, 66, 194)
HSLhsl(311, 71%, 57%)
HSVhsv(311, 70%, 87%)
CMYKcmyk(0%, 70.4%, 13%, 12.5%)
CIE-LABlab(55.57, 72.72, -34.27)
CIE-LCHlch(55.57, 80.39, 334.76°)
OKLaboklab(64.77% 0.2134 -0.0933)
OKLCHoklch(64.77% 0.233 336.4)
XYZxyz(42.1179, 23.4832, 53.3430)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42C2 #42DF5F
analogous
#AE42DF #DF42C2 #DF4274
triadic
#DF42C2 #C2DF42 #42C2DF
tetradic
#DF42C2 #DFAE42 #42DF5F #4274DF
square
#DF42C2 #DFAE42 #42DF5F #4274DF
split-complementary
#DF42C2 #74DF42 #42DFAE
monochromatic
#8E1879 #C321A5 #DF42C2 #E876D3 #F1ABE4

Accessibility & contrast

On white

3.69
#DF42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#DF42C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42C2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42C2#FFFFFF#000000##000000
##DF42C21.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C6
Deuteranopia (green-blind)
#7A8EBE
Tritanopia (blue-blind)
#EA4C7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #df42c2;
/* rgb */ color: rgb(223, 66, 194);
/* oklch */ color: oklch(64.8% 0.233 336.4);
Tailwind
colors: {
  custom: {
    50: '#ed84d5',
    500: '#df42c2',
    950: '#000000',
  },
}
SCSS
$custom: #df42c2;
$custom-light: #ed84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#df42c2",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 311.083,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.23292,
    "h": 336.4
  },
  "luminance": 0.23479
}

Semantic roles & 50–950 ramp

primary
#DF42C2
secondary
#9EDFAA
accent
#EE5B3A
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DF42C2

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

Preview Lab → · Contrast checker → · Palette generator →

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