Skip to content

#fc2eee

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

RGB
252, 46, 238
HSL
304°, 97%, 58%
CMYK
0, 82, 6, 1
Luminance
0.2882

Every format

HEX#fc2eee
RGBrgb(252, 46, 238)
HSLhsl(304, 97%, 58%)
CMYKcmyk(0%, 82%, 6%, 1%)
LABlab(60.6 90.3 -50.9)
LCHlch(60.6 103.6 330.6)
OKLCHoklch(0.700 0.294 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green18.0%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta81.7%
Yellow5.6%
Key (black)1.2%

Color previews

#fc2eee text on a black background

contrast 6.76:1

Card sample

#fc2eee text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2eee in the Color Lab