#DF52B2#DF52B2

#DF52B2 is a light, highly saturated pink. Relative luminance 0.249; OKLCH L 65.6% C 0.202 H 342.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#DF52B2
RGBrgb(223, 82, 178)
HSLhsl(319, 69%, 60%)
HSVhsv(319, 63%, 87%)
CMYKcmyk(0%, 63.2%, 20.2%, 12.5%)
CIE-LABlab(57.02, 64.55, -22.80)
CIE-LCHlch(57.02, 68.45, 340.55°)
OKLaboklab(65.61% 0.1931 -0.061)
OKLCHoklch(65.61% 0.202 342.5)
XYZxyz(41.4858, 24.9408, 44.7400)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52B2 #52DF7F
analogous
#C552DF #DF52B2 #DF526C
triadic
#DF52B2 #B2DF52 #52B2DF
tetradic
#DF52B2 #DFC552 #52DF7F #526CDF
square
#DF52B2 #DFC552 #52DF7F #526CDF
split-complementary
#DF52B2 #6CDF52 #52DFC5
monochromatic
#9A1D72 #CE2698 #DF52B2 #E986C9 #F2B9E0

Accessibility & contrast

On white

3.51
#DF52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#DF52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52B2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52B2#FFFFFF#000000##000000
##DF52B21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#8791AF
Tritanopia (blue-blind)
#EC537B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df52b2;
/* rgb */ color: rgb(223, 82, 178);
/* oklch */ color: oklch(65.6% 0.202 342.5);
Tailwind
colors: {
  custom: {
    50: '#ed8bc9',
    500: '#df52b2',
    950: '#000000',
  },
}
SCSS
$custom: #df52b2;
$custom-light: #ed8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#df52b2",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 319.149,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65606,
    "c": 0.20246,
    "h": 342.5
  },
  "luminance": 0.24937
}

Semantic roles & 50–950 ramp

primary
#DF52B2
secondary
#ABE2BD
accent
#EC743C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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