Skip to content

#ff5df9

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

RGB
255, 93, 249
HSL
302°, 100%, 68%
CMYK
0, 64, 2, 0
Luminance
0.3593

Every format

HEX#ff5df9
RGBrgb(255, 93, 249)
HSLhsl(302, 100%, 68%)
CMYKcmyk(0%, 64%, 2%, 0%)
LABlab(66.5 78.8 -47.8)
LCHlch(66.5 92.1 328.8)
OKLCHoklch(0.745 0.258 329.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff5df9 on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#ff5df9 on black: 8.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green36.5%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta63.5%
Yellow2.4%
Key (black)0.0%

Color previews

#ff5df9 text on a black background

contrast 8.19:1

Card sample

#ff5df9 text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff5df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff5df9 in the Color Lab