#DF52C2#DF52C2

#DF52C2 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.3% C 0.213 H 336.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#DF52C2
RGBrgb(223, 82, 194)
HSLhsl(312, 69%, 60%)
HSVhsv(312, 63%, 87%)
CMYKcmyk(0%, 63.2%, 13%, 12.5%)
CIE-LABlab(57.68, 66.82, -30.99)
CIE-LCHlch(57.68, 73.66, 335.12°)
OKLaboklab(66.3% 0.1959 -0.0841)
OKLCHoklch(66.3% 0.213 336.8)
XYZxyz(43.1869, 25.6212, 53.6993)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52C2 #52DF6F
analogous
#B552DF #DF52C2 #DF527C
triadic
#DF52C2 #C2DF52 #52C2DF
tetradic
#DF52C2 #DFB552 #52DF6F #527CDF
square
#DF52C2 #DFB552 #52DF6F #527CDF
split-complementary
#DF52C2 #7CDF52 #52DFB5
monochromatic
#9A1D80 #CE26AB #DF52C2 #E986D4 #F2B9E6

Accessibility & contrast

On white

3.43
#DF52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#DF52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52C2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52C2#FFFFFF#000000##000000
##DF52C21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#8192BE
Tritanopia (blue-blind)
#EA5983
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df52c2;
/* rgb */ color: rgb(223, 82, 194);
/* oklch */ color: oklch(66.3% 0.213 336.8);
Tailwind
colors: {
  custom: {
    50: '#ec8bd4',
    500: '#df52c2',
    950: '#000000',
  },
}
SCSS
$custom: #df52c2;
$custom-light: #ec8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#df52c2",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 312.34,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66303,
    "c": 0.21318,
    "h": 336.8
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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