Skip to content

#fe2df6

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

RGB
254, 45, 246
HSL
302°, 99%, 59%
CMYK
0, 82, 3, 0
Luminance
0.2960

Every format

HEX#fe2df6
RGBrgb(254, 45, 246)
HSLhsl(302, 99%, 59%)
CMYKcmyk(0%, 82%, 3%, 0%)
LABlab(61.3 91.9 -54.3)
LCHlch(61.3 106.8 329.5)
OKLCHoklch(0.707 0.301 330.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe2df6 on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#fe2df6 on black: 6.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green17.6%
Blue96.5%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow3.1%
Key (black)0.4%

Color previews

#fe2df6 text on a black background

contrast 6.92:1

Card sample

#fe2df6 text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe2df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe2df6 in the Color Lab