Skip to content

#f92ddf

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

RGB
249, 45, 223
HSL
308°, 94%, 58%
CMYK
0, 82, 10, 2
Luminance
0.2734

Every format

HEX#f92ddf
RGBrgb(249, 45, 223)
HSLhsl(308, 94%, 58%)
CMYKcmyk(0%, 82%, 10%, 2%)
LABlab(59.3 87.8 -44.6)
LCHlch(59.3 98.5 333.1)
OKLCHoklch(0.687 0.284 334.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f92ddf on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#f92ddf on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green17.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta81.9%
Yellow10.4%
Key (black)2.4%

Color previews

#f92ddf text on a black background

contrast 6.47:1

Card sample

#f92ddf text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f92ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f92ddf in the Color Lab