#FF52DF#FF52DF

#FF52DF is a light, highly saturated pink. Relative luminance 0.326; OKLCH L 72.2% C 0.253 H 336.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#FF52DF
RGBrgb(255, 82, 223)
HSLhsl(311, 100%, 66%)
HSVhsv(311, 68%, 100%)
CMYKcmyk(0%, 67.8%, 12.5%, 0%)
CIE-LABlab(63.86, 78.85, -37.41)
CIE-LCHlch(63.86, 87.27, 334.62°)
OKLaboklab(72.17% 0.2311 -0.1018)
OKLCHoklch(72.17% 0.253 336.2)
XYZxyz(57.5774, 32.6273, 73.0630)
Luminance0.3262 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52DF #52FF72
analogous
#C852FF #FF52DF #FF5288
triadic
#FF52DF #DFFF52 #52DFFF
tetradic
#FF52DF #FFC852 #52FF72 #5288FF
square
#FF52DF #FFC852 #52FF72 #5288FF
split-complementary
#FF52DF #88FF52 #52FFC8
monochromatic
#D700AF #FF15D4 #FF52DF #FF8FEA #FFCCF6

Accessibility & contrast

On white

2.79
#FF52DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#FF52DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52DF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52DF#FFFFFF#000000##000000
##FF52DF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#8EA4DB
Tritanopia (blue-blind)
#FF5D92
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ff52df;
/* rgb */ color: rgb(255, 82, 223);
/* oklch */ color: oklch(72.2% 0.253 336.2);
Tailwind
colors: {
  custom: {
    50: '#ff8fe9',
    500: '#ff52df',
    950: '#000000',
  },
}
SCSS
$custom: #ff52df;
$custom-light: #ff8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52df",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 311.098,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.2525,
    "h": 336.2
  },
  "luminance": 0.32622
}

Semantic roles & 50–950 ramp

primary
#FF52DF
secondary
#BAF3C4
accent
#E62A00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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