#DF52BA#DF52BA

#DF52BA is a light, highly saturated pink. Relative luminance 0.253; OKLCH L 65.9% C 0.208 H 339.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#DF52BA
RGBrgb(223, 82, 186)
HSLhsl(316, 69%, 60%)
HSVhsv(316, 63%, 87%)
CMYKcmyk(0%, 63.2%, 16.6%, 12.5%)
CIE-LABlab(57.34, 65.66, -26.92)
CIE-LCHlch(57.34, 70.97, 337.71°)
OKLaboklab(65.95% 0.1946 -0.0725)
OKLCHoklch(65.95% 0.208 339.6)
XYZxyz(42.3125, 25.2715, 49.0943)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52BA #52DF77
analogous
#BE52DF #DF52BA #DF5273
triadic
#DF52BA #BADF52 #52BADF
tetradic
#DF52BA #DFBE52 #52DF77 #5273DF
square
#DF52BA #DFBE52 #52DF77 #5273DF
split-complementary
#DF52BA #73DF52 #52DFBE
monochromatic
#9A1D79 #CE26A2 #DF52BA #E986CF #F2B9E3

Accessibility & contrast

On white

3.47
#DF52BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#DF52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52BA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52BA#FFFFFF#000000##000000
##DF52BA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#8492B6
Tritanopia (blue-blind)
#EB567F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df52ba;
/* rgb */ color: rgb(223, 82, 186);
/* oklch */ color: oklch(65.9% 0.208 339.6);
Tailwind
colors: {
  custom: {
    50: '#ec8bcf',
    500: '#df52ba',
    950: '#000000',
  },
}
SCSS
$custom: #df52ba;
$custom-light: #ec8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#df52ba",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 315.745,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65946,
    "c": 0.20767,
    "h": 339.6
  },
  "luminance": 0.25268
}

Semantic roles & 50–950 ramp

primary
#DF52BA
secondary
#ABE2B9
accent
#EC6A3C
background
#FEF9FC
surface
#FDF1F9
border
#D5CBD2
text
#170D13
muted
#857E82

Preview Lab

Preview with #DF52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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