Skip to content

#fc2fdc

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

RGB
252, 47, 220
HSL
309°, 97%, 59%
CMYK
0, 81, 13, 1
Luminance
0.2790

Every format

HEX#fc2fdc
RGBrgb(252, 47, 220)
HSLhsl(309, 97%, 59%)
CMYKcmyk(0%, 81%, 13%, 1%)
LABlab(59.8 87.6 -42.1)
LCHlch(59.8 97.2 334.3)
OKLCHoklch(0.691 0.282 335.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2fdc on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#fc2fdc on black: 6.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow12.7%
Key (black)1.2%

Color previews

#fc2fdc text on a black background

contrast 6.58:1

Card sample

#fc2fdc text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2fdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2fdc in the Color Lab