#DF51C2#DF51C2

#DF51C2 is a light, highly saturated pink. Relative luminance 0.255; OKLCH L 66.2% C 0.215 H 336.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#DF51C2
RGBrgb(223, 81, 194)
HSLhsl(312, 69%, 60%)
HSVhsv(312, 64%, 87%)
CMYKcmyk(0%, 63.7%, 13%, 12.5%)
CIE-LABlab(57.53, 67.22, -31.21)
CIE-LCHlch(57.53, 74.11, 335.09°)
OKLaboklab(66.2% 0.1971 -0.0847)
OKLCHoklch(66.2% 0.215 336.7)
XYZxyz(43.1121, 25.4715, 53.6744)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51C2 #51DF6E
analogous
#B551DF #DF51C2 #DF517B
triadic
#DF51C2 #C2DF51 #51C2DF
tetradic
#DF51C2 #DFB551 #51DF6E #517BDF
square
#DF51C2 #DFB551 #51DF6E #517BDF
split-complementary
#DF51C2 #7BDF51 #51DFB5
monochromatic
#991C80 #CD26AB #DF51C2 #E985D4 #F2B8E6

Accessibility & contrast

On white

3.45
#DF51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#DF51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51C2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51C2#FFFFFF#000000##000000
##DF51C21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#8192BE
Tritanopia (blue-blind)
#EA5882
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df51c2;
/* rgb */ color: rgb(223, 81, 194);
/* oklch */ color: oklch(66.2% 0.215 336.7);
Tailwind
colors: {
  custom: {
    50: '#ec8bd4',
    500: '#df51c2',
    950: '#000000',
  },
}
SCSS
$custom: #df51c2;
$custom-light: #ec8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#df51c2",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 312.254,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66198,
    "c": 0.21451,
    "h": 336.7
  },
  "luminance": 0.25468
}

Semantic roles & 50–950 ramp

primary
#DF51C2
secondary
#AAE1B6
accent
#EC603C
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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