Skip to content

#fe02ff

a balanced, electric magenta / pink · warm · “magenta”

RGB
254, 2, 255
HSL
300°, 100%, 50%
CMYK
0, 99, 0, 0
Luminance
0.2833

Every format

HEX#fe02ff
RGBrgb(254, 2, 255)
HSLhsl(300, 100%, 50%)
CMYKcmyk(0%, 99%, 0%, 0%)
LABlab(60.2 98.0 -61.0)
LCHlch(60.2 115.4 328.1)
OKLCHoklch(0.700 0.322 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe02ff on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#fe02ff on black: 6.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green0.8%
Blue100.0%

CMYK percentages

Cyan0.4%
Magenta99.2%
Yellow0.0%
Key (black)0.0%

Color previews

#fe02ff text on a black background

contrast 6.67:1

Card sample

#fe02ff text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe02ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe02ff in the Color Lab