Skip to content

#fe2ff0

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

RGB
254, 47, 240
HSL
304°, 99%, 59%
CMYK
0, 82, 6, 0
Luminance
0.2940

Every format

HEX#fe2ff0
RGBrgb(254, 47, 240)
HSLhsl(304, 99%, 59%)
CMYKcmyk(0%, 82%, 6%, 0%)
LABlab(61.1 90.7 -51.2)
LCHlch(61.1 104.2 330.5)
OKLCHoklch(0.704 0.295 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green18.4%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta81.5%
Yellow5.5%
Key (black)0.4%

Color previews

#fe2ff0 text on a black background

contrast 6.88:1

Card sample

#fe2ff0 text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2ff0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2ff0 in the Color Lab