Skip to content

#fc4df5

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

RGB
252, 77, 245
HSL
302°, 97%, 65%
CMYK
0, 69, 3, 1
Luminance
0.3260

Every format

HEX#fc4df5
RGBrgb(252, 77, 245)
HSLhsl(302, 97%, 65%)
CMYKcmyk(0%, 69%, 3%, 1%)
LABlab(63.8 83.1 -49.7)
LCHlch(63.8 96.8 329.1)
OKLCHoklch(0.724 0.272 329.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc4df5 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#fc4df5 on black: 7.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green30.2%
Blue96.1%

CMYK percentages

Cyan0.0%
Magenta69.4%
Yellow2.8%
Key (black)1.2%

Color previews

#fc4df5 text on a black background

contrast 7.52:1

Card sample

#fc4df5 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc4df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc4df5 in the Color Lab