Skip to content

#fa2cfb

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

RGB
250, 44, 251
HSL
300°, 96%, 58%
CMYK
0, 83, 0, 2
Luminance
0.2909

Every format

HEX#fa2cfb
RGBrgb(250, 44, 251)
HSLhsl(300, 96%, 58%)
CMYKcmyk(0%, 83%, 0%, 2%)
LABlab(60.9 92.1 -57.8)
LCHlch(60.9 108.8 327.9)
OKLCHoklch(0.703 0.303 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fa2cfb on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#fa2cfb on black: 6.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green17.3%
Blue98.4%

CMYK percentages

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

Color previews

#fa2cfb text on a black background

contrast 6.82:1

Card sample

#fa2cfb text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fa2cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fa2cfb in the Color Lab