Skip to content

#fc4df9

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

RGB
252, 77, 249
HSL
301°, 97%, 65%
CMYK
0, 69, 1, 1
Luminance
0.3284

Every format

HEX#fc4df9
RGBrgb(252, 77, 249)
HSLhsl(301, 97%, 65%)
CMYKcmyk(0%, 69%, 1%, 1%)
LABlab(64.0 83.7 -51.6)
LCHlch(64.0 98.3 328.3)
OKLCHoklch(0.726 0.275 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc4df9 on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#fc4df9 on black: 7.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green30.2%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta69.4%
Yellow1.2%
Key (black)1.2%

Color previews

#fc4df9 text on a black background

contrast 7.57:1

Card sample

#fc4df9 text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc4df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc4df9 in the Color Lab