Skip to content

#fc2df5

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

RGB
252, 45, 245
HSL
302°, 97%, 58%
CMYK
0, 82, 3, 1
Luminance
0.2916

Every format

HEX#fc2df5
RGBrgb(252, 45, 245)
HSLhsl(302, 97%, 58%)
CMYKcmyk(0%, 82%, 3%, 1%)
LABlab(60.9 91.4 -54.3)
LCHlch(60.9 106.4 329.3)
OKLCHoklch(0.703 0.299 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2df5 on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#fc2df5 on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.6%
Blue96.1%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow2.8%
Key (black)1.2%

Color previews

#fc2df5 text on a black background

contrast 6.83:1

Card sample

#fc2df5 text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2df5 in the Color Lab