#DF52C7#DF52C7

#DF52C7 is a light, highly saturated pink. Relative luminance 0.258; OKLCH L 66.5% C 0.217 H 335.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#DF52C7
RGBrgb(223, 82, 199)
HSLhsl(310, 69%, 60%)
HSVhsv(310, 63%, 87%)
CMYKcmyk(0%, 63.2%, 10.8%, 12.5%)
CIE-LABlab(57.89, 67.57, -33.51)
CIE-LCHlch(57.89, 75.42, 333.62°)
OKLaboklab(66.53% 0.1966 -0.0912)
OKLCHoklch(66.53% 0.217 335.1)
XYZxyz(43.7579, 25.8496, 56.7066)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52C7 #52DF6A
analogous
#B152DF #DF52C7 #DF5280
triadic
#DF52C7 #C7DF52 #52C7DF
tetradic
#DF52C7 #DFB152 #52DF6A #5280DF
square
#DF52C7 #DFB152 #52DF6A #5280DF
split-complementary
#DF52C7 #80DF52 #52DFB1
monochromatic
#9A1D85 #CE26B1 #DF52C7 #E986D8 #F2B9E8

Accessibility & contrast

On white

3.40
#DF52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#DF52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52C7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52C7#FFFFFF#000000##000000
##DF52C71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECA
Deuteranopia (green-blind)
#7F93C3
Tritanopia (blue-blind)
#E95B85
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df52c7;
/* rgb */ color: rgb(223, 82, 199);
/* oklch */ color: oklch(66.5% 0.217 335.1);
Tailwind
colors: {
  custom: {
    50: '#ec8cd8',
    500: '#df52c7',
    950: '#000000',
  },
}
SCSS
$custom: #df52c7;
$custom-light: #ec8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#df52c7",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 310.213,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.21675,
    "h": 335.1
  },
  "luminance": 0.25846
}

Semantic roles & 50–950 ramp

primary
#DF52C7
secondary
#ABE2B4
accent
#EC5A3C
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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