#FF52E2#FF52E2

#FF52E2 is a light, highly saturated pink. Relative luminance 0.328; OKLCH L 72.3% C 0.255 H 335.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#FF52E2
RGBrgb(255, 82, 226)
HSLhsl(310, 100%, 66%)
HSVhsv(310, 68%, 100%)
CMYKcmyk(0%, 67.8%, 11.4%, 0%)
CIE-LABlab(63.99, 79.27, -38.88)
CIE-LCHlch(63.99, 88.30, 333.87°)
OKLaboklab(72.31% 0.2314 -0.106)
OKLCHoklch(72.31% 0.255 335.4)
XYZxyz(57.9854, 32.7906, 75.2120)
Luminance0.3279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52E2 #52FF6F
analogous
#C552FF #FF52E2 #FF528B
triadic
#FF52E2 #E2FF52 #52E2FF
tetradic
#FF52E2 #FFC552 #52FF6F #528BFF
square
#FF52E2 #FFC552 #52FF6F #528BFF
split-complementary
#FF52E2 #8BFF52 #52FFC5
monochromatic
#D700B3 #FF15D8 #FF52E2 #FF8FEC #FFCCF7

Accessibility & contrast

On white

2.78
#FF52E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#FF52E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52E2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52E2#FFFFFF#000000##000000
##FF52E21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE6
Deuteranopia (green-blind)
#8DA4DE
Tritanopia (blue-blind)
#FF5E94
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ff52e2;
/* rgb */ color: rgb(255, 82, 226);
/* oklch */ color: oklch(72.3% 0.255 335.4);
Tailwind
colors: {
  custom: {
    50: '#ff90eb',
    500: '#ff52e2',
    950: '#000000',
  },
}
SCSS
$custom: #ff52e2;
$custom-light: #ff90eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52e2",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 310.058,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72307,
    "c": 0.25452,
    "h": 335.4
  },
  "luminance": 0.32786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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