#FF52D7#FF52D7

#FF52D7 is a light, highly saturated pink. Relative luminance 0.322; OKLCH L 71.8% C 0.247 H 338.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#FF52D7
RGBrgb(255, 82, 215)
HSLhsl(314, 100%, 66%)
HSVhsv(314, 68%, 100%)
CMYKcmyk(0%, 67.8%, 15.7%, 0%)
CIE-LABlab(63.51, 77.74, -33.46)
CIE-LCHlch(63.51, 84.64, 336.72°)
OKLaboklab(71.8% 0.2301 -0.0906)
OKLCHoklch(71.8% 0.247 338.5)
XYZxyz(56.5242, 32.2061, 67.5163)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52D7 #52FF7A
analogous
#D052FF #FF52D7 #FF5280
triadic
#FF52D7 #D7FF52 #52D7FF
tetradic
#FF52D7 #FFD052 #52FF7A #5280FF
square
#FF52D7 #FFD052 #52FF7A #5280FF
split-complementary
#FF52D7 #80FF52 #52FFD0
monochromatic
#D700A5 #FF15C9 #FF52D7 #FF8FE5 #FFCCF3

Accessibility & contrast

On white

2.82
#FF52D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#FF52D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52D7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52D7#FFFFFF#000000##000000
##FF52D71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DB
Deuteranopia (green-blind)
#91A4D3
Tritanopia (blue-blind)
#FF598E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ff52d7;
/* rgb */ color: rgb(255, 82, 215);
/* oklch */ color: oklch(71.8% 0.247 338.5);
Tailwind
colors: {
  custom: {
    50: '#ff8fe3',
    500: '#ff52d7',
    950: '#000000',
  },
}
SCSS
$custom: #ff52d7;
$custom-light: #ff8fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52d7",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 313.873,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71804,
    "c": 0.24724,
    "h": 338.5
  },
  "luminance": 0.32201
}

Semantic roles & 50–950 ramp

primary
#FF52D7
secondary
#BAF3C7
accent
#E63500
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#190E15
muted
#877E83

Preview Lab

Preview with #FF52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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