Skip to content

#ff4af4

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

RGB
255, 74, 244
HSL
304°, 100%, 65%
CMYK
0, 71, 4, 0
Luminance
0.3269

Every format

HEX#ff4af4
RGBrgb(255, 74, 244)
HSLhsl(304, 100%, 65%)
CMYKcmyk(0%, 71%, 4%, 0%)
LABlab(63.9 84.5 -49.0)
LCHlch(63.9 97.7 329.9)
OKLCHoklch(0.725 0.276 330.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4af4 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#ff4af4 on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green29.0%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta71.0%
Yellow4.3%
Key (black)0.0%

Color previews

#ff4af4 text on a black background

contrast 7.54:1

Card sample

#ff4af4 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4af4 in the Color Lab