Skip to content

#fc2cfe

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

RGB
252, 44, 254
HSL
299°, 99%, 58%
CMYK
1, 83, 0, 0
Luminance
0.2965

Every format

HEX#fc2cfe
RGBrgb(252, 44, 254)
HSLhsl(299, 99%, 58%)
CMYKcmyk(1%, 83%, 0%, 0%)
LABlab(61.4 92.9 -58.6)
LCHlch(61.4 109.9 327.7)
OKLCHoklch(0.708 0.306 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2cfe on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#fc2cfe on black: 6.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.3%
Blue99.6%

CMYK percentages

Cyan0.8%
Magenta82.7%
Yellow0.0%
Key (black)0.4%

Color previews

#fc2cfe text on a black background

contrast 6.93:1

Card sample

#fc2cfe text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2cfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2cfe in the Color Lab