#FF52DB#FF52DB

#FF52DB is a light, highly saturated pink. Relative luminance 0.324; OKLCH L 72.0% C 0.250 H 337.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#FF52DB
RGBrgb(255, 82, 219)
HSLhsl(312, 100%, 66%)
HSVhsv(312, 68%, 100%)
CMYKcmyk(0%, 67.8%, 14.1%, 0%)
CIE-LABlab(63.68, 78.29, -35.44)
CIE-LCHlch(63.68, 85.94, 335.65°)
OKLaboklab(71.98% 0.2306 -0.0962)
OKLCHoklch(71.98% 0.25 337.4)
XYZxyz(57.0445, 32.4142, 70.2563)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52DB #52FF76
analogous
#CD52FF #FF52DB #FF5284
triadic
#FF52DB #DBFF52 #52DBFF
tetradic
#FF52DB #FFCD52 #52FF76 #5284FF
square
#FF52DB #FFCD52 #52FF76 #5284FF
split-complementary
#FF52DB #84FF52 #52FFCD
monochromatic
#D700AA #FF15CE #FF52DB #FF8FE8 #FFCCF4

Accessibility & contrast

On white

2.81
#FF52DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#FF52DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52DB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52DB#FFFFFF#000000##000000
##FF52DB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#90A4D7
Tritanopia (blue-blind)
#FF5B90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ff52db;
/* rgb */ color: rgb(255, 82, 219);
/* oklch */ color: oklch(72.0% 0.250 337.4);
Tailwind
colors: {
  custom: {
    50: '#ff8fe6',
    500: '#ff52db',
    950: '#000000',
  },
}
SCSS
$custom: #ff52db;
$custom-light: #ff8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52db",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 312.486,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71984,
    "c": 0.24985,
    "h": 337.4
  },
  "luminance": 0.32409
}

Semantic roles & 50–950 ramp

primary
#FF52DB
secondary
#BAF3C6
accent
#E63000
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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