Skip to content

#fe2dfc

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

RGB
254, 45, 252
HSL
301°, 99%, 59%
CMYK
0, 82, 1, 0
Luminance
0.2998

Every format

HEX#fe2dfc
RGBrgb(254, 45, 252)
HSLhsl(301, 99%, 59%)
CMYKcmyk(0%, 82%, 1%, 0%)
LABlab(61.6 92.8 -57.1)
LCHlch(61.6 109.0 328.4)
OKLCHoklch(0.710 0.304 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2dfc on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#fe2dfc on black: 7.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green17.6%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow0.8%
Key (black)0.4%

Color previews

#fe2dfc text on a black background

contrast 7.00:1

Card sample

#fe2dfc text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2dfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2dfc in the Color Lab