#FF52DD#FF52DD

#FF52DD is a light, highly saturated pink. Relative luminance 0.325; OKLCH L 72.1% C 0.251 H 336.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#FF52DD
RGBrgb(255, 82, 221)
HSLhsl(312, 100%, 66%)
HSVhsv(312, 68%, 100%)
CMYKcmyk(0%, 67.8%, 13.3%, 0%)
CIE-LABlab(63.77, 78.57, -36.43)
CIE-LCHlch(63.77, 86.60, 335.13°)
OKLaboklab(72.08% 0.2308 -0.099)
OKLCHoklch(72.08% 0.251 336.8)
XYZxyz(57.3094, 32.5201, 71.6513)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52DD #52FF74
analogous
#CA52FF #FF52DD #FF5286
triadic
#FF52DD #DDFF52 #52DDFF
tetradic
#FF52DD #FFCA52 #52FF74 #5286FF
square
#FF52DD #FFCA52 #52FF74 #5286FF
split-complementary
#FF52DD #86FF52 #52FFCA
monochromatic
#D700AC #FF15D1 #FF52DD #FF8FE9 #FFCCF5

Accessibility & contrast

On white

2.80
#FF52DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#FF52DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52DD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52DD#FFFFFF#000000##000000
##FF52DD1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE1
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#FF5C91
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ff52dd;
/* rgb */ color: rgb(255, 82, 221);
/* oklch */ color: oklch(72.1% 0.251 336.8);
Tailwind
colors: {
  custom: {
    50: '#ff8fe8',
    500: '#ff52dd',
    950: '#000000',
  },
}
SCSS
$custom: #ff52dd;
$custom-light: #ff8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52dd",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 311.792,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72075,
    "c": 0.25117,
    "h": 336.8
  },
  "luminance": 0.32515
}

Semantic roles & 50–950 ramp

primary
#FF52DD
secondary
#BAF3C5
accent
#E62D00
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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