Skip to content

#ff2dfe

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

RGB
255, 45, 254
HSL
300°, 100%, 59%
CMYK
0, 82, 0, 0
Luminance
0.3029

Every format

HEX#ff2dfe
RGBrgb(255, 45, 254)
HSLhsl(300, 100%, 59%)
CMYKcmyk(0%, 82%, 0%, 0%)
LABlab(61.9 93.3 -57.7)
LCHlch(61.9 109.7 328.2)
OKLCHoklch(0.713 0.306 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2dfe on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#ff2dfe on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.6%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta82.4%
Yellow0.4%
Key (black)0.0%

Color previews

#ff2dfe text on a black background

contrast 7.06:1

Card sample

#ff2dfe text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2dfe in the Color Lab