#DF52B7#DF52B7

#DF52B7 is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.8% C 0.206 H 340.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#DF52B7
RGBrgb(223, 82, 183)
HSLhsl(317, 69%, 60%)
HSVhsv(317, 63%, 87%)
CMYKcmyk(0%, 63.2%, 17.9%, 12.5%)
CIE-LABlab(57.22, 65.24, -25.38)
CIE-LCHlch(57.22, 70.00, 338.75°)
OKLaboklab(65.82% 0.194 -0.0682)
OKLCHoklch(65.82% 0.206 340.6)
XYZxyz(41.9970, 25.1453, 47.4323)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52B7 #52DF7A
analogous
#C052DF #DF52B7 #DF5271
triadic
#DF52B7 #B7DF52 #52B7DF
tetradic
#DF52B7 #DFC052 #52DF7A #5271DF
square
#DF52B7 #DFC052 #52DF7A #5271DF
split-complementary
#DF52B7 #71DF52 #52DFC0
monochromatic
#9A1D76 #CE269E #DF52B7 #E986CC #F2B9E2

Accessibility & contrast

On white

3.48
#DF52B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#DF52B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52B7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52B7#FFFFFF#000000##000000
##DF52B71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#8592B4
Tritanopia (blue-blind)
#EC557D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df52b7;
/* rgb */ color: rgb(223, 82, 183);
/* oklch */ color: oklch(65.8% 0.206 340.6);
Tailwind
colors: {
  custom: {
    50: '#ec8bcc',
    500: '#df52b7',
    950: '#000000',
  },
}
SCSS
$custom: #df52b7;
$custom-light: #ec8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#df52b7",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 317.021,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65817,
    "c": 0.20568,
    "h": 340.6
  },
  "luminance": 0.25141
}

Semantic roles & 50–950 ramp

primary
#DF52B7
secondary
#ABE2BB
accent
#EC6E3C
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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