Skip to content

#fe2df4

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

RGB
254, 45, 244
HSL
303°, 99%, 59%
CMYK
0, 82, 4, 0
Luminance
0.2948

Every format

HEX#fe2df4
RGBrgb(254, 45, 244)
HSLhsl(303, 99%, 59%)
CMYKcmyk(0%, 82%, 4%, 0%)
LABlab(61.2 91.7 -53.3)
LCHlch(61.2 106.0 329.8)
OKLCHoklch(0.706 0.299 330.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2df4 on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#fe2df4 on black: 6.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green17.6%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow3.9%
Key (black)0.4%

Color previews

#fe2df4 text on a black background

contrast 6.90:1

Card sample

#fe2df4 text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2df4 in the Color Lab