Skip to content

#f92dfd

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

RGB
249, 45, 253
HSL
299°, 98%, 58%
CMYK
2, 82, 0, 1
Luminance
0.2911

Every format

HEX#f92dfd
RGBrgb(249, 45, 253)
HSLhsl(299, 98%, 58%)
CMYKcmyk(2%, 82%, 0%, 1%)
LABlab(60.9 92.1 -58.9)
LCHlch(60.9 109.3 327.4)
OKLCHoklch(0.703 0.303 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f92dfd on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#f92dfd on black: 6.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green17.6%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#f92dfd text on a black background

contrast 6.82:1

Card sample

#f92dfd text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f92dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f92dfd in the Color Lab