Skip to content

#fe2dfe

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

RGB
254, 45, 254
HSL
300°, 99%, 59%
CMYK
0, 82, 0, 0
Luminance
0.3010

Every format

HEX#fe2dfe
RGBrgb(254, 45, 254)
HSLhsl(300, 99%, 59%)
CMYKcmyk(0%, 82%, 0%, 0%)
LABlab(61.8 93.1 -58.0)
LCHlch(61.8 109.7 328.1)
OKLCHoklch(0.711 0.306 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2dfe on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#fe2dfe on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green17.6%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow0.0%
Key (black)0.4%

Color previews

#fe2dfe text on a black background

contrast 7.02:1

Card sample

#fe2dfe text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2dfe in the Color Lab