Skip to content

#ff5df2

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

RGB
255, 93, 242
HSL
305°, 100%, 68%
CMYK
0, 64, 5, 0
Luminance
0.3550

Every format

HEX#ff5df2
RGBrgb(255, 93, 242)
HSLhsl(305, 100%, 68%)
CMYKcmyk(0%, 64%, 5%, 0%)
LABlab(66.1 77.7 -44.4)
LCHlch(66.1 89.5 330.2)
OKLCHoklch(0.741 0.253 331.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff5df2 on white: 2.59:1
AA ✗ fail · AA-large · AAA
Aa
#ff5df2 on black: 8.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green36.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta63.5%
Yellow5.1%
Key (black)0.0%

Color previews

#ff5df2 text on a black background

contrast 8.10:1

Card sample

#ff5df2 text on a white background

contrast 2.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff5df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff5df2 in the Color Lab