Skip to content

#fe2fdc

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

RGB
254, 47, 220
HSL
310°, 99%, 59%
CMYK
0, 82, 13, 0
Luminance
0.2827

Every format

HEX#fe2fdc
RGBrgb(254, 47, 220)
HSLhsl(310, 99%, 59%)
CMYKcmyk(0%, 82%, 13%, 0%)
LABlab(60.1 88.0 -41.6)
LCHlch(60.1 97.3 334.7)
OKLCHoklch(0.694 0.283 336.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2fdc on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#fe2fdc on black: 6.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green18.4%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta81.5%
Yellow13.4%
Key (black)0.4%

Color previews

#fe2fdc text on a black background

contrast 6.65:1

Card sample

#fe2fdc text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2fdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2fdc in the Color Lab