Skip to content

#fc2ffc

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

RGB
252, 47, 252
HSL
300°, 97%, 59%
CMYK
0, 81, 0, 1
Luminance
0.2976

Every format

HEX#fc2ffc
RGBrgb(252, 47, 252)
HSLhsl(300, 97%, 59%)
CMYKcmyk(0%, 81%, 0%, 1%)
LABlab(61.5 92.0 -57.4)
LCHlch(61.5 108.5 328.1)
OKLCHoklch(0.708 0.302 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2ffc on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#fc2ffc on black: 6.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue98.8%

CMYK percentages

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

Color previews

#fc2ffc text on a black background

contrast 6.95:1

Card sample

#fc2ffc text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2ffc in the Color Lab