Skip to content

#f64af4

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

RGB
246, 74, 244
HSL
301°, 91%, 63%
CMYK
0, 70, 1, 4
Luminance
0.3102

Every format

HEX#f64af4
RGBrgb(246, 74, 244)
HSLhsl(301, 91%, 63%)
CMYKcmyk(0%, 70%, 1%, 4%)
LABlab(62.5 82.6 -51.3)
LCHlch(62.5 97.3 328.2)
OKLCHoklch(0.713 0.271 328.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f64af4 on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#f64af4 on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green29.0%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta69.9%
Yellow0.8%
Key (black)3.5%

Color previews

#f64af4 text on a black background

contrast 7.20:1

Card sample

#f64af4 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f64af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f64af4 in the Color Lab