Skip to content

#fc5df9

a light, electric magenta / pink · warm · closest name: magenta

RGB
252, 93, 249
HSL
301°, 96%, 68%
CMYK
0, 63, 1, 1
Luminance
0.3536

Every format

HEX#fc5df9
RGBrgb(252, 93, 249)
HSLhsl(301, 96%, 68%)
CMYKcmyk(0%, 63%, 1%, 1%)
LABlab(66.0 78.1 -48.5)
LCHlch(66.0 91.9 328.2)
OKLCHoklch(0.741 0.256 328.6)

Copy-ready code

/* CSS */
color: #fc5df9;
background-color: #fc5df9;
/* Tailwind (arbitrary) */
class="text-[#fc5df9] bg-[#fc5df9]"
/* SCSS */
$brand: #fc5df9;
/* SwiftUI */
Color(red: 0.988, green: 0.365, blue: 0.976)
/* Android */
Color.parseColor("#fc5df9")

Accessibility — WCAG contrast

Aa
#fc5df9 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#fc5df9 on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green36.5%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta63.1%
Yellow1.2%
Key (black)1.2%

Color previews

#fc5df9 text on a black background

contrast 8.07:1

Card sample

#fc5df9 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fc5df9;
Background color
Panel with #fc5df9 background
background-color: #fc5df9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fc5df9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(252, 93, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 93, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fc5df9;
background: linear-gradient(135deg, #fc5df9, #FC5D8F);

Monochromatic scale

Palettes built from #fc5df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc5df9 in the Color Lab