Skip to content

#fa2dfb

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

RGB
250, 45, 251
HSL
300°, 96%, 58%
CMYK
0, 82, 0, 2
Luminance
0.2917

Every format

HEX#fa2dfb
RGBrgb(250, 45, 251)
HSLhsl(300, 96%, 58%)
CMYKcmyk(0%, 82%, 0%, 2%)
LABlab(60.9 92.0 -57.7)
LCHlch(60.9 108.5 327.9)
OKLCHoklch(0.704 0.302 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fa2dfb on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#fa2dfb on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green17.6%
Blue98.4%

CMYK percentages

Cyan0.4%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#fa2dfb text on a black background

contrast 6.83:1

Card sample

#fa2dfb text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fa2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fa2dfb in the Color Lab