Skip to content

#ff3df2

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

RGB
255, 61, 242
HSL
304°, 100%, 62%
CMYK
0, 76, 5, 0
Luminance
0.3101

Every format

HEX#ff3df2
RGBrgb(255, 61, 242)
HSLhsl(304, 100%, 62%)
CMYKcmyk(0%, 76%, 5%, 0%)
LABlab(62.5 87.9 -50.1)
LCHlch(62.5 101.2 330.3)
OKLCHoklch(0.715 0.286 331.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff3df2 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#ff3df2 on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green23.9%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta76.1%
Yellow5.1%
Key (black)0.0%

Color previews

#ff3df2 text on a black background

contrast 7.20:1

Card sample

#ff3df2 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff3df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff3df2 in the Color Lab