Skip to content

#fe2def

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

RGB
254, 45, 239
HSL
304°, 99%, 59%
CMYK
0, 82, 6, 0
Luminance
0.2918

Every format

HEX#fe2def
RGBrgb(254, 45, 239)
HSLhsl(304, 99%, 59%)
CMYKcmyk(0%, 82%, 6%, 0%)
LABlab(60.9 91.0 -51.0)
LCHlch(60.9 104.3 330.7)
OKLCHoklch(0.703 0.296 331.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2def on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#fe2def on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green17.6%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow5.9%
Key (black)0.4%

Color previews

#fe2def text on a black background

contrast 6.84:1

Card sample

#fe2def text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2def

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2def in the Color Lab