Skip to content

#fa2fd2

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

RGB
250, 47, 210
HSL
312°, 95%, 58%
CMYK
0, 81, 16, 2
Luminance
0.2701

Every format

HEX#fa2fd2
RGBrgb(250, 47, 210)
HSLhsl(312, 95%, 58%)
CMYKcmyk(0%, 81%, 16%, 2%)
LABlab(59.0 85.9 -37.8)
LCHlch(59.0 93.8 336.3)
OKLCHoklch(0.683 0.275 338.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green18.4%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow16.0%
Key (black)2.0%

Color previews

#fa2fd2 text on a black background

contrast 6.40:1

Card sample

#fa2fd2 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fa2fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fa2fd2 in the Color Lab