Skip to content

#fe2cfd

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

RGB
254, 44, 253
HSL
300°, 99%, 58%
CMYK
0, 83, 0, 0
Luminance
0.2996

Every format

HEX#fe2cfd
RGBrgb(254, 44, 253)
HSLhsl(300, 99%, 58%)
CMYKcmyk(0%, 83%, 0%, 0%)
LABlab(61.6 93.1 -57.6)
LCHlch(61.6 109.5 328.2)
OKLCHoklch(0.710 0.306 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green17.3%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta82.7%
Yellow0.4%
Key (black)0.4%

Color previews

#fe2cfd text on a black background

contrast 6.99:1

Card sample

#fe2cfd text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2cfd in the Color Lab