Skip to content

#fe0dfe

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

RGB
254, 13, 254
HSL
300°, 99%, 52%
CMYK
0, 95, 0, 0
Luminance
0.2851

Every format

HEX#fe0dfe
RGBrgb(254, 13, 254)
HSLhsl(300, 99%, 52%)
CMYKcmyk(0%, 95%, 0%, 0%)
LABlab(60.4 97.2 -60.2)
LCHlch(60.4 114.3 328.2)
OKLCHoklch(0.701 0.319 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe0dfe on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#fe0dfe on black: 6.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green5.1%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta94.9%
Yellow0.0%
Key (black)0.4%

Color previews

#fe0dfe text on a black background

contrast 6.70:1

Card sample

#fe0dfe text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe0dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe0dfe in the Color Lab