Skip to content

#fe5ff2

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

RGB
254, 95, 242
HSL
305°, 99%, 68%
CMYK
0, 63, 5, 0
Luminance
0.3567

Every format

HEX#fe5ff2
RGBrgb(254, 95, 242)
HSLhsl(305, 99%, 68%)
CMYKcmyk(0%, 63%, 5%, 0%)
LABlab(66.3 76.7 -44.2)
LCHlch(66.3 88.5 330.0)
OKLCHoklch(0.742 0.250 330.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe5ff2 on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#fe5ff2 on black: 8.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green37.3%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta62.6%
Yellow4.7%
Key (black)0.4%

Color previews

#fe5ff2 text on a black background

contrast 8.13:1

Card sample

#fe5ff2 text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe5ff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe5ff2 in the Color Lab