Skip to content

#fc2dff

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

RGB
252, 45, 255
HSL
299°, 100%, 59%
CMYK
1, 82, 0, 0
Luminance
0.2979

Every format

HEX#fc2dff
RGBrgb(252, 45, 255)
HSLhsl(299, 100%, 59%)
CMYKcmyk(1%, 82%, 0%, 0%)
LABlab(61.5 92.9 -59.0)
LCHlch(61.5 110.0 327.6)
OKLCHoklch(0.709 0.306 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green17.6%
Blue100.0%

CMYK percentages

Cyan1.2%
Magenta82.4%
Yellow0.0%
Key (black)0.0%

Color previews

#fc2dff text on a black background

contrast 6.96:1

Card sample

#fc2dff text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2dff in the Color Lab