Skip to content

#fc4dec

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

RGB
252, 77, 236
HSL
306°, 97%, 65%
CMYK
0, 69, 6, 1
Luminance
0.3206

Every format

HEX#fc4dec
RGBrgb(252, 77, 236)
HSLhsl(306, 97%, 65%)
CMYKcmyk(0%, 69%, 6%, 1%)
LABlab(63.4 81.7 -45.4)
LCHlch(63.4 93.5 330.9)
OKLCHoklch(0.719 0.265 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc4dec on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#fc4dec on black: 7.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green30.2%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta69.4%
Yellow6.3%
Key (black)1.2%

Color previews

#fc4dec text on a black background

contrast 7.41:1

Card sample

#fc4dec text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc4dec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc4dec in the Color Lab