#FF52D9#FF52D9

#FF52D9 is a light, highly saturated pink. Relative luminance 0.323; OKLCH L 71.9% C 0.249 H 337.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#FF52D9
RGBrgb(255, 82, 217)
HSLhsl(313, 100%, 66%)
HSVhsv(313, 68%, 100%)
CMYKcmyk(0%, 67.8%, 14.9%, 0%)
CIE-LABlab(63.60, 78.02, -34.45)
CIE-LCHlch(63.60, 85.28, 336.18°)
OKLaboklab(71.89% 0.2303 -0.0934)
OKLCHoklch(71.89% 0.249 337.9)
XYZxyz(56.7828, 32.3095, 68.8780)
Luminance0.3230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52D9 #52FF78
analogous
#CE52FF #FF52D9 #FF5282
triadic
#FF52D9 #D9FF52 #52D9FF
tetradic
#FF52D9 #FFCE52 #52FF78 #5282FF
square
#FF52D9 #FFCE52 #52FF78 #5282FF
split-complementary
#FF52D9 #82FF52 #52FFCE
monochromatic
#D700A7 #FF15CC #FF52D9 #FF8FE6 #FFCCF4

Accessibility & contrast

On white

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

On black

7.46
#FF52D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52D9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52D9#FFFFFF#000000##000000
##FF52D91.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DD
Deuteranopia (green-blind)
#91A4D5
Tritanopia (blue-blind)
#FF5A8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ff52d9;
/* rgb */ color: rgb(255, 82, 217);
/* oklch */ color: oklch(71.9% 0.249 337.9);
Tailwind
colors: {
  custom: {
    50: '#ff8fe5',
    500: '#ff52d9',
    950: '#000000',
  },
}
SCSS
$custom: #ff52d9;
$custom-light: #ff8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52d9",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 313.179,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71893,
    "c": 0.24854,
    "h": 337.9
  },
  "luminance": 0.32304
}

Semantic roles & 50–950 ramp

primary
#FF52D9
secondary
#BAF3C6
accent
#E63200
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190E15
muted
#877E84

Preview Lab

Preview with #FF52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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