Skip to content

#ff4dfd

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

RGB
255, 77, 253
HSL
301°, 100%, 65%
CMYK
0, 70, 1, 0
Luminance
0.3366

Every format

HEX#ff4dfd
RGBrgb(255, 77, 253)
HSLhsl(301, 100%, 65%)
CMYKcmyk(0%, 70%, 1%, 0%)
LABlab(64.7 84.9 -52.8)
LCHlch(64.7 100.0 328.2)
OKLCHoklch(0.732 0.279 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4dfd on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#ff4dfd on black: 7.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green30.2%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta69.8%
Yellow0.8%
Key (black)0.0%

Color previews

#ff4dfd text on a black background

contrast 7.73:1

Card sample

#ff4dfd text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4dfd in the Color Lab