Skip to content

#ff45df

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

RGB
255, 69, 223
HSL
310°, 100%, 64%
CMYK
0, 73, 13, 0
Luminance
0.3084

Every format

HEX#ff45df
RGBrgb(255, 69, 223)
HSLhsl(310, 100%, 64%)
CMYKcmyk(0%, 73%, 13%, 0%)
LABlab(62.4 83.0 -39.7)
LCHlch(62.4 92.0 334.4)
OKLCHoklch(0.711 0.267 336.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff45df on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#ff45df on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green27.1%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta72.9%
Yellow12.5%
Key (black)0.0%

Color previews

#ff45df text on a black background

contrast 7.17:1

Card sample

#ff45df text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff45df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff45df in the Color Lab