#DF52A8#DF52A8

#DF52A8 is a light, vivid pink. Relative luminance 0.245; OKLCH L 65.2% C 0.196 H 346.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#DF52A8
RGBrgb(223, 82, 168)
HSLhsl(323, 69%, 60%)
HSVhsv(323, 63%, 87%)
CMYKcmyk(0%, 63.2%, 24.7%, 12.5%)
CIE-LABlab(56.64, 63.21, -17.58)
CIE-LCHlch(56.64, 65.61, 344.46°)
OKLaboklab(65.2% 0.1909 -0.0464)
OKLCHoklch(65.2% 0.196 346.3)
XYZxyz(40.5181, 24.5537, 39.6437)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52A8 #52DF89
analogous
#CF52DF #DF52A8 #DF5262
triadic
#DF52A8 #A8DF52 #52A8DF
tetradic
#DF52A8 #DFCF52 #52DF89 #5262DF
square
#DF52A8 #DFCF52 #52DF89 #5262DF
split-complementary
#DF52A8 #62DF52 #52DFCF
monochromatic
#9A1D69 #CE268C #DF52A8 #E986C2 #F2B9DC

Accessibility & contrast

On white

3.55
#DF52A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#DF52A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52A8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52A8#FFFFFF#000000##000000
##DF52A81.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6279AB
Deuteranopia (green-blind)
#8A91A5
Tritanopia (blue-blind)
#ED4F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df52a8;
/* rgb */ color: rgb(223, 82, 168);
/* oklch */ color: oklch(65.2% 0.196 346.3);
Tailwind
colors: {
  custom: {
    50: '#ed8bc2',
    500: '#df52a8',
    950: '#000000',
  },
}
SCSS
$custom: #df52a8;
$custom-light: #ed8bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#df52a8",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 323.404,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65202,
    "c": 0.19642,
    "h": 346.3
  },
  "luminance": 0.2455
}

Semantic roles & 50–950 ramp

primary
#DF52A8
secondary
#ABE2C0
accent
#EC813C
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170D12
muted
#857D81

Preview Lab

Preview with #DF52A8

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

Preview Lab → · Contrast checker → · Palette generator →

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