Skip to content

#f03df4

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

RGB
240, 61, 244
HSL
299°, 89%, 60%
CMYK
2, 75, 0, 4
Luminance
0.2839

Every format

HEX#f03df4
RGBrgb(240, 61, 244)
HSLhsl(299, 89%, 60%)
CMYKcmyk(2%, 75%, 0%, 4%)
LABlab(60.3 85.3 -55.0)
LCHlch(60.3 101.5 327.2)
OKLCHoklch(0.695 0.281 327.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f03df4 on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#f03df4 on black: 6.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green23.9%
Blue95.7%

CMYK percentages

Cyan1.6%
Magenta75.0%
Yellow0.0%
Key (black)4.3%

Color previews

#f03df4 text on a black background

contrast 6.68:1

Card sample

#f03df4 text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f03df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f03df4 in the Color Lab