Skip to content

#fe2ecc

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

RGB
254, 46, 204
HSL
314°, 99%, 59%
CMYK
0, 82, 20, 0
Luminance
0.2738

Every format

HEX#fe2ecc
RGBrgb(254, 46, 204)
HSLhsl(314, 99%, 59%)
CMYKcmyk(0%, 82%, 20%, 0%)
LABlab(59.3 86.2 -33.7)
LCHlch(59.3 92.5 338.6)
OKLCHoklch(0.686 0.274 340.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2ecc on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#fe2ecc on black: 6.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green18.0%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta81.9%
Yellow19.7%
Key (black)0.4%

Color previews

#fe2ecc text on a black background

contrast 6.48:1

Card sample

#fe2ecc text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2ecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2ecc in the Color Lab