#DF52B1#DF52B1

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

Color values

HEX#DF52B1
RGBrgb(223, 82, 177)
HSLhsl(320, 69%, 60%)
HSVhsv(320, 63%, 87%)
CMYKcmyk(0%, 63.2%, 20.6%, 12.5%)
CIE-LABlab(56.98, 64.41, -22.28)
CIE-LCHlch(56.98, 68.15, 340.92°)
OKLaboklab(65.56% 0.1929 -0.0595)
OKLCHoklch(65.56% 0.202 342.8)
XYZxyz(41.3857, 24.9008, 44.2132)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52B1 #52DF80
analogous
#C652DF #DF52B1 #DF526B
triadic
#DF52B1 #B1DF52 #52B1DF
tetradic
#DF52B1 #DFC652 #52DF80 #526BDF
square
#DF52B1 #DFC652 #52DF80 #526BDF
split-complementary
#DF52B1 #6BDF52 #52DFC6
monochromatic
#9A1D71 #CE2697 #DF52B1 #E986C8 #F2B9E0

Accessibility & contrast

On white

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

On black

5.98
#DF52B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52B1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52B1#FFFFFF#000000##000000
##DF52B11.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB4
Deuteranopia (green-blind)
#8791AE
Tritanopia (blue-blind)
#EC537A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df52b1;
/* rgb */ color: rgb(223, 82, 177);
/* oklch */ color: oklch(65.6% 0.202 342.8);
Tailwind
colors: {
  custom: {
    50: '#ed8bc8',
    500: '#df52b1',
    950: '#000000',
  },
}
SCSS
$custom: #df52b1;
$custom-light: #ed8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#df52b1",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 319.574,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65564,
    "c": 0.20183,
    "h": 342.8
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF52B1

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

Preview Lab → · Contrast checker → · Palette generator →

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