Skip to content

#fe2df8

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

RGB
254, 45, 248
HSL
302°, 99%, 59%
CMYK
0, 82, 2, 0
Luminance
0.2972

Every format

HEX#fe2df8
RGBrgb(254, 45, 248)
HSLhsl(302, 99%, 59%)
CMYKcmyk(0%, 82%, 2%, 0%)
LABlab(61.4 92.2 -55.2)
LCHlch(61.4 107.5 329.1)
OKLCHoklch(0.708 0.302 329.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2df8 on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#fe2df8 on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green17.6%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow2.4%
Key (black)0.4%

Color previews

#fe2df8 text on a black background

contrast 6.94:1

Card sample

#fe2df8 text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2df8 in the Color Lab