Skip to content

#fc2def

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

RGB
252, 45, 239
HSL
304°, 97%, 58%
CMYK
0, 82, 5, 1
Luminance
0.2880

Every format

HEX#fc2def
RGBrgb(252, 45, 239)
HSLhsl(304, 97%, 58%)
CMYKcmyk(0%, 82%, 5%, 1%)
LABlab(60.6 90.6 -51.5)
LCHlch(60.6 104.2 330.4)
OKLCHoklch(0.700 0.295 331.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2def on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#fc2def on black: 6.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.6%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow5.2%
Key (black)1.2%

Color previews

#fc2def text on a black background

contrast 6.76:1

Card sample

#fc2def text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2def

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2def in the Color Lab