Skip to content

#fe2fff

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

RGB
254, 47, 255
HSL
300°, 100%, 59%
CMYK
0, 82, 0, 0
Luminance
0.3032

Every format

HEX#fe2fff
RGBrgb(254, 47, 255)
HSLhsl(300, 100%, 59%)
CMYKcmyk(0%, 82%, 0%, 0%)
LABlab(61.9 92.8 -58.3)
LCHlch(61.9 109.6 327.9)
OKLCHoklch(0.713 0.305 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2fff on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#fe2fff on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green18.4%
Blue100.0%

CMYK percentages

Cyan0.4%
Magenta81.6%
Yellow0.0%
Key (black)0.0%

Color previews

#fe2fff text on a black background

contrast 7.06:1

Card sample

#fe2fff text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2fff in the Color Lab