Skip to content

#f64af3

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

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

Every format

HEX#f64af3
RGBrgb(246, 74, 243)
HSLhsl(301, 91%, 63%)
CMYKcmyk(0%, 70%, 1%, 4%)
LABlab(62.5 82.5 -50.8)
LCHlch(62.5 96.9 328.4)
OKLCHoklch(0.712 0.271 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f64af3 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#f64af3 on black: 7.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green29.0%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta69.9%
Yellow1.2%
Key (black)3.5%

Color previews

#f64af3 text on a black background

contrast 7.19:1

Card sample

#f64af3 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f64af3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f64af3 in the Color Lab