Skip to content

#fa4dfb

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

RGB
250, 77, 251
HSL
300°, 96%, 64%
CMYK
0, 69, 0, 2
Luminance
0.3260

Every format

HEX#fa4dfb
RGBrgb(250, 77, 251)
HSLhsl(300, 96%, 64%)
CMYKcmyk(0%, 69%, 0%, 2%)
LABlab(63.8 83.6 -53.1)
LCHlch(63.8 99.0 327.6)
OKLCHoklch(0.724 0.275 327.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fa4dfb on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#fa4dfb on black: 7.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green30.2%
Blue98.4%

CMYK percentages

Cyan0.4%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#fa4dfb text on a black background

contrast 7.52:1

Card sample

#fa4dfb text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fa4dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fa4dfb in the Color Lab