Skip to content

#fa7df2

a light, electric magenta / pink · warm · closest name: violet

RGB
250, 125, 242
HSL
304°, 93%, 74%
CMYK
0, 50, 3, 2
Luminance
0.4140

Every format

HEX#fa7df2
RGBrgb(250, 125, 242)
HSLhsl(304, 93%, 74%)
CMYKcmyk(0%, 50%, 3%, 2%)
LABlab(70.5 62.8 -37.7)
LCHlch(70.5 73.2 329.0)
OKLCHoklch(0.771 0.205 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fa7df2 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#fa7df2 on black: 9.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green49.0%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta50.0%
Yellow3.2%
Key (black)2.0%

Color previews

#fa7df2 text on a black background

contrast 9.28:1

Card sample

#fa7df2 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fa7df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fa7df2 in the Color Lab