#FF52DA#FF52DA

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

Color values

HEX#FF52DA
RGBrgb(255, 82, 218)
HSLhsl(313, 100%, 66%)
HSVhsv(313, 68%, 100%)
CMYKcmyk(0%, 67.8%, 14.5%, 0%)
CIE-LABlab(63.64, 78.15, -34.94)
CIE-LCHlch(63.64, 85.61, 335.91°)
OKLaboklab(71.94% 0.2305 -0.0948)
OKLCHoklch(71.94% 0.249 337.6)
XYZxyz(56.9132, 32.3617, 69.5651)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52DA #52FF77
analogous
#CD52FF #FF52DA #FF5283
triadic
#FF52DA #DAFF52 #52DAFF
tetradic
#FF52DA #FFCD52 #52FF77 #5283FF
square
#FF52DA #FFCD52 #52FF77 #5283FF
split-complementary
#FF52DA #83FF52 #52FFCD
monochromatic
#D700A9 #FF15CD #FF52DA #FF8FE7 #FFCCF4

Accessibility & contrast

On white

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

On black

7.47
#FF52DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52DA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52DA#FFFFFF#000000##000000
##FF52DA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DE
Deuteranopia (green-blind)
#90A4D6
Tritanopia (blue-blind)
#FF5B8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ff52da;
/* rgb */ color: rgb(255, 82, 218);
/* oklch */ color: oklch(71.9% 0.249 337.6);
Tailwind
colors: {
  custom: {
    50: '#ff8fe6',
    500: '#ff52da',
    950: '#000000',
  },
}
SCSS
$custom: #ff52da;
$custom-light: #ff8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52da",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 312.832,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71939,
    "c": 0.24919,
    "h": 337.6
  },
  "luminance": 0.32357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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