Skip to content

#f405df

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

RGB
244, 5, 223
HSL
305°, 96%, 49%
CMYK
0, 98, 9, 4
Luminance
0.2467

Every format

HEX#f405df
RGBrgb(244, 5, 223)
HSLhsl(305, 96%, 49%)
CMYKcmyk(0%, 98%, 9%, 4%)
LABlab(56.8 91.8 -48.7)
LCHlch(56.8 104.0 332.1)
OKLCHoklch(0.667 0.298 333.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f405df on white: 3.54:1
AA ✗ fail · AA-large · AAA
Aa
#f405df on black: 5.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green2.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta98.0%
Yellow8.6%
Key (black)4.3%

Color previews

#f405df text on a black background

contrast 5.93:1

Card sample

#f405df text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f405df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f405df in the Color Lab