Skip to content

#fa0df2

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

RGB
250, 13, 242
HSL
302°, 96%, 52%
CMYK
0, 95, 3, 2
Luminance
0.2702

Every format

HEX#fa0df2
RGBrgb(250, 13, 242)
HSLhsl(302, 96%, 52%)
CMYKcmyk(0%, 95%, 3%, 2%)
LABlab(59.0 94.9 -55.8)
LCHlch(59.0 110.0 329.6)
OKLCHoklch(0.689 0.310 330.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fa0df2 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#fa0df2 on black: 6.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green5.1%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta94.8%
Yellow3.2%
Key (black)2.0%

Color previews

#fa0df2 text on a black background

contrast 6.40:1

Card sample

#fa0df2 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 13, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 13, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fa0df2;
background: linear-gradient(135deg, #fa0df2, #FA0D54);

Monochromatic scale

Palettes built from #fa0df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fa0df2 in the Color Lab