#FE52DC#FE52DC

#FE52DC is a light, highly saturated pink. Relative luminance 0.323; OKLCH L 71.9% C 0.250 H 336.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#FE52DC
RGBrgb(254, 82, 220)
HSLhsl(312, 99%, 66%)
HSVhsv(312, 68%, 100%)
CMYKcmyk(0%, 67.7%, 13.4%, 0.4%)
CIE-LABlab(63.57, 78.19, -36.19)
CIE-LCHlch(63.57, 86.16, 335.17°)
OKLaboklab(71.89% 0.2298 -0.0983)
OKLCHoklch(71.89% 0.25 336.8)
XYZxyz(56.8095, 32.2778, 70.9345)
Luminance0.3227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE52DC #52FE74
analogous
#CA52FE #FE52DC #FE5286
triadic
#FE52DC #DCFE52 #52DCFE
tetradic
#FE52DC #FECA52 #52FE74 #5286FE
square
#FE52DC #FECA52 #52FE74 #5286FE
split-complementary
#FE52DC #86FE52 #52FECA
monochromatic
#D401AB #FE15D0 #FE52DC #FE8FE8 #FFCCF5

Accessibility & contrast

On white

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

On black

7.45
#FE52DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE52DC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE52DC#FFFFFF#000000##000000
##FE52DC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#8FA3D8
Tritanopia (blue-blind)
#FF5C90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fe52dc;
/* rgb */ color: rgb(254, 82, 220);
/* oklch */ color: oklch(71.9% 0.250 336.8);
Tailwind
colors: {
  custom: {
    50: '#ff8fe7',
    500: '#fe52dc',
    950: '#000000',
  },
}
SCSS
$custom: #fe52dc;
$custom-light: #ff8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#fe52dc",
  "rgb": {
    "r": 254,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 311.86,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.24992,
    "h": 336.8
  },
  "luminance": 0.32273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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