Skip to content

#fc4df8

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

RGB
252, 77, 248
HSL
301°, 97%, 65%
CMYK
0, 69, 2, 1
Luminance
0.3278

Every format

HEX#fc4df8
RGBrgb(252, 77, 248)
HSLhsl(301, 97%, 65%)
CMYKcmyk(0%, 69%, 2%, 1%)
LABlab(64.0 83.5 -51.1)
LCHlch(64.0 98.0 328.5)
OKLCHoklch(0.726 0.274 328.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc4df8 on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#fc4df8 on black: 7.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green30.2%
Blue97.3%

CMYK percentages

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

Color previews

#fc4df8 text on a black background

contrast 7.56:1

Card sample

#fc4df8 text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc4df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc4df8 in the Color Lab