Skip to content

#f92afb

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

RGB
249, 42, 251
HSL
299°, 96%, 58%
CMYK
1, 83, 0, 2
Luminance
0.2876

Every format

HEX#f92afb
RGBrgb(249, 42, 251)
HSLhsl(299, 96%, 58%)
CMYKcmyk(1%, 83%, 0%, 2%)
LABlab(60.6 92.3 -58.3)
LCHlch(60.6 109.2 327.7)
OKLCHoklch(0.701 0.304 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f92afb on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#f92afb on black: 6.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green16.5%
Blue98.4%

CMYK percentages

Cyan0.8%
Magenta83.3%
Yellow0.0%
Key (black)1.6%

Color previews

#f92afb text on a black background

contrast 6.75:1

Card sample

#f92afb text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f92afb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f92afb in the Color Lab