Skip to content

#fc2fec

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

RGB
252, 47, 236
HSL
305°, 97%, 59%
CMYK
0, 81, 6, 1
Luminance
0.2878

Every format

HEX#fc2fec
RGBrgb(252, 47, 236)
HSLhsl(305, 97%, 59%)
CMYKcmyk(0%, 81%, 6%, 1%)
LABlab(60.6 89.8 -49.9)
LCHlch(60.6 102.7 331.0)
OKLCHoklch(0.699 0.292 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2fec on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#fc2fec on black: 6.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow6.3%
Key (black)1.2%

Color previews

#fc2fec text on a black background

contrast 6.76:1

Card sample

#fc2fec text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2fec in the Color Lab