#DF52A1#DF52A1

#DF52A1 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.9% C 0.193 H 349.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#DF52A1
RGBrgb(223, 82, 161)
HSLhsl(326, 69%, 60%)
HSVhsv(326, 63%, 87%)
CMYKcmyk(0%, 63.2%, 27.8%, 12.5%)
CIE-LABlab(56.39, 62.32, -13.88)
CIE-LCHlch(56.39, 63.84, 347.45°)
OKLaboklab(64.93% 0.1891 -0.0363)
OKLCHoklch(64.93% 0.193 349.1)
XYZxyz(39.8835, 24.2999, 36.3012)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52A1 #52DF90
analogous
#D652DF #DF52A1 #DF525B
triadic
#DF52A1 #A1DF52 #52A1DF
tetradic
#DF52A1 #DFD652 #52DF90 #525BDF
square
#DF52A1 #DFD652 #52DF90 #525BDF
split-complementary
#DF52A1 #5BDF52 #52DFD6
monochromatic
#9A1D63 #CE2684 #DF52A1 #E986BD #F2B9D9

Accessibility & contrast

On white

3.58
#DF52A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#DF52A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52A1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52A1#FFFFFF#000000##000000
##DF52A11.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A3
Deuteranopia (green-blind)
#8C909E
Tritanopia (blue-blind)
#EE4D73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df52a1;
/* rgb */ color: rgb(223, 82, 161);
/* oklch */ color: oklch(64.9% 0.193 349.1);
Tailwind
colors: {
  custom: {
    50: '#ed8bbc',
    500: '#df52a1',
    950: '#000000',
  },
}
SCSS
$custom: #df52a1;
$custom-light: #ed8bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#df52a1",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 326.383,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64934,
    "c": 0.19255,
    "h": 349.1
  },
  "luminance": 0.24296
}

Semantic roles & 50–950 ramp

primary
#DF52A1
secondary
#ABE2C3
accent
#EC893C
background
#FFF8FB
surface
#FEF0F6
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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