Skip to content

#ff5df4

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

RGB
255, 93, 244
HSL
304°, 100%, 68%
CMYK
0, 64, 4, 0
Luminance
0.3562

Every format

HEX#ff5df4
RGBrgb(255, 93, 244)
HSLhsl(304, 100%, 68%)
CMYKcmyk(0%, 64%, 4%, 0%)
LABlab(66.2 78.0 -45.4)
LCHlch(66.2 90.2 329.8)
OKLCHoklch(0.742 0.254 330.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff5df4 on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#ff5df4 on black: 8.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green36.5%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta63.5%
Yellow4.3%
Key (black)0.0%

Color previews

#ff5df4 text on a black background

contrast 8.12:1

Card sample

#ff5df4 text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff5df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff5df4 in the Color Lab