Skip to content

#fd1fe2

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

RGB
253, 31, 226
HSL
307°, 98%, 56%
CMYK
0, 88, 11, 1
Luminance
0.2735

Every format

HEX#fd1fe2
RGBrgb(253, 31, 226)
HSLhsl(307, 98%, 56%)
CMYKcmyk(0%, 88%, 11%, 1%)
LABlab(59.3 91.4 -46.3)
LCHlch(59.3 102.4 333.1)
OKLCHoklch(0.689 0.295 334.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd1fe2 on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#fd1fe2 on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green12.2%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta87.7%
Yellow10.7%
Key (black)0.8%

Color previews

#fd1fe2 text on a black background

contrast 6.47:1

Card sample

#fd1fe2 text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd1fe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd1fe2 in the Color Lab