Skip to content

#fc1df2

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

RGB
252, 29, 242
HSL
303°, 97%, 55%
CMYK
0, 89, 4, 1
Luminance
0.2798

Every format

HEX#fc1df2
RGBrgb(252, 29, 242)
HSLhsl(303, 97%, 55%)
CMYKcmyk(0%, 89%, 4%, 1%)
LABlab(59.9 93.6 -54.3)
LCHlch(59.9 108.3 329.9)
OKLCHoklch(0.695 0.306 330.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc1df2 on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#fc1df2 on black: 6.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green11.4%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta88.5%
Yellow4.0%
Key (black)1.2%

Color previews

#fc1df2 text on a black background

contrast 6.60:1

Card sample

#fc1df2 text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc1df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc1df2 in the Color Lab