Skip to content

#ff4df3

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

RGB
255, 77, 243
HSL
304°, 100%, 65%
CMYK
0, 70, 5, 0
Luminance
0.3304

Every format

HEX#ff4df3
RGBrgb(255, 77, 243)
HSLhsl(304, 100%, 65%)
CMYKcmyk(0%, 70%, 5%, 0%)
LABlab(64.2 83.4 -48.0)
LCHlch(64.2 96.3 330.1)
OKLCHoklch(0.727 0.272 330.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4df3 on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#ff4df3 on black: 7.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green30.2%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta69.8%
Yellow4.7%
Key (black)0.0%

Color previews

#ff4df3 text on a black background

contrast 7.61:1

Card sample

#ff4df3 text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4df3 in the Color Lab