Skip to content

#f92afd

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

RGB
249, 42, 253
HSL
299°, 98%, 58%
CMYK
2, 83, 0, 1
Luminance
0.2889

Every format

HEX#f92afd
RGBrgb(249, 42, 253)
HSLhsl(299, 98%, 58%)
CMYKcmyk(2%, 83%, 0%, 1%)
LABlab(60.7 92.6 -59.2)
LCHlch(60.7 109.9 327.4)
OKLCHoklch(0.702 0.305 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f92afd on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#f92afd on black: 6.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green16.5%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta83.4%
Yellow0.0%
Key (black)0.8%

Color previews

#f92afd text on a black background

contrast 6.78:1

Card sample

#f92afd text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f92afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f92afd in the Color Lab