Skip to content

#fe4fe2

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

RGB
254, 79, 226
HSL
310°, 99%, 65%
CMYK
0, 69, 11, 0
Luminance
0.3215

Every format

HEX#fe4fe2
RGBrgb(254, 79, 226)
HSLhsl(310, 99%, 65%)
CMYKcmyk(0%, 69%, 11%, 0%)
LABlab(63.5 80.1 -39.7)
LCHlch(63.5 89.4 333.6)
OKLCHoklch(0.719 0.257 335.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fe4fe2 on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#fe4fe2 on black: 7.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green31.0%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta68.9%
Yellow11.0%
Key (black)0.4%

Color previews

#fe4fe2 text on a black background

contrast 7.43:1

Card sample

#fe4fe2 text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe4fe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fe4fe2 in the Color Lab