#DF42C0#DF42C0

#DF42C0 is a light, highly saturated pink. Relative luminance 0.234; OKLCH L 64.7% C 0.232 H 337.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#DF42C0
RGBrgb(223, 66, 192)
HSLhsl(312, 71%, 57%)
HSVhsv(312, 70%, 87%)
CMYKcmyk(0%, 70.4%, 13.9%, 12.5%)
CIE-LABlab(55.48, 72.43, -33.26)
CIE-LCHlch(55.48, 79.71, 335.33°)
OKLaboklab(64.67% 0.2132 -0.0904)
OKLCHoklch(64.67% 0.232 337)
XYZxyz(41.8948, 23.3940, 52.1680)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42C0 #42DF61
analogous
#B042DF #DF42C0 #DF4272
triadic
#DF42C0 #C0DF42 #42C0DF
tetradic
#DF42C0 #DFB042 #42DF61 #4272DF
square
#DF42C0 #DFB042 #42DF61 #4272DF
split-complementary
#DF42C0 #72DF42 #42DFB0
monochromatic
#8E1877 #C321A3 #DF42C0 #E876D1 #F1ABE3

Accessibility & contrast

On white

3.70
#DF42C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#DF42C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42C0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42C0#FFFFFF#000000##000000
##DF42C01.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#7B8DBC
Tritanopia (blue-blind)
#EB4B7C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #df42c0;
/* rgb */ color: rgb(223, 66, 192);
/* oklch */ color: oklch(64.7% 0.232 337.0);
Tailwind
colors: {
  custom: {
    50: '#ed84d3',
    500: '#df42c0',
    950: '#000000',
  },
}
SCSS
$custom: #df42c0;
$custom-light: #ed84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#df42c0",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 311.847,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.23158,
    "h": 337
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#DF42C0
secondary
#9EDFAB
accent
#EE5E3A
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DF42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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