Skip to content

#ff4cfd

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

RGB
255, 76, 253
HSL
301°, 100%, 65%
CMYK
0, 70, 1, 0
Luminance
0.3352

Every format

HEX#ff4cfd
RGBrgb(255, 76, 253)
HSLhsl(301, 100%, 65%)
CMYKcmyk(0%, 70%, 1%, 0%)
LABlab(64.6 85.2 -52.9)
LCHlch(64.6 100.3 328.2)
OKLCHoklch(0.732 0.280 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4cfd on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#ff4cfd on black: 7.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green29.8%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta70.2%
Yellow0.8%
Key (black)0.0%

Color previews

#ff4cfd text on a black background

contrast 7.70:1

Card sample

#ff4cfd text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4cfd in the Color Lab