Skip to content

#fc2fff

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

RGB
252, 47, 255
HSL
299°, 100%, 59%
CMYK
1, 82, 0, 0
Luminance
0.2995

Every format

HEX#fc2fff
RGBrgb(252, 47, 255)
HSLhsl(299, 100%, 59%)
CMYKcmyk(1%, 82%, 0%, 0%)
LABlab(61.6 92.5 -58.8)
LCHlch(61.6 109.6 327.6)
OKLCHoklch(0.710 0.304 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2fff on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#fc2fff on black: 6.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue100.0%

CMYK percentages

Cyan1.2%
Magenta81.6%
Yellow0.0%
Key (black)0.0%

Color previews

#fc2fff text on a black background

contrast 6.99:1

Card sample

#fc2fff text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2fff in the Color Lab