#DF52B8#DF52B8

#DF52B8 is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 65.9% C 0.206 H 340.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#DF52B8
RGBrgb(223, 82, 184)
HSLhsl(317, 69%, 60%)
HSVhsv(317, 63%, 87%)
CMYKcmyk(0%, 63.2%, 17.5%, 12.5%)
CIE-LABlab(57.26, 65.38, -25.89)
CIE-LCHlch(57.26, 70.32, 338.40°)
OKLaboklab(65.86% 0.1942 -0.0696)
OKLCHoklch(65.86% 0.206 340.3)
XYZxyz(42.1014, 25.1870, 47.9824)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52B8 #52DF79
analogous
#C052DF #DF52B8 #DF5271
triadic
#DF52B8 #B8DF52 #52B8DF
tetradic
#DF52B8 #DFC052 #52DF79 #5271DF
square
#DF52B8 #DFC052 #52DF79 #5271DF
split-complementary
#DF52B8 #71DF52 #52DFC0
monochromatic
#9A1D77 #CE269F #DF52B8 #E986CD #F2B9E2

Accessibility & contrast

On white

3.48
#DF52B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#DF52B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52B8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52B8#FFFFFF#000000##000000
##DF52B81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBB
Deuteranopia (green-blind)
#8592B5
Tritanopia (blue-blind)
#EB557E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df52b8;
/* rgb */ color: rgb(223, 82, 184);
/* oklch */ color: oklch(65.9% 0.206 340.3);
Tailwind
colors: {
  custom: {
    50: '#ec8bcd',
    500: '#df52b8',
    950: '#000000',
  },
}
SCSS
$custom: #df52b8;
$custom-light: #ec8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#df52b8",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 316.596,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.20634,
    "h": 340.3
  },
  "luminance": 0.25183
}

Semantic roles & 50–950 ramp

primary
#DF52B8
secondary
#ABE2BA
accent
#EC6D3C
background
#FEF9FC
surface
#FDF1F9
border
#D5CBD2
text
#170D13
muted
#857E82

Preview Lab

Preview with #DF52B8

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

Preview Lab → · Contrast checker → · Palette generator →

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