Skip to content

#ff2def

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

RGB
255, 45, 239
HSL
305°, 100%, 59%
CMYK
0, 82, 6, 0
Luminance
0.2937

Every format

HEX#ff2def
RGBrgb(255, 45, 239)
HSLhsl(305, 100%, 59%)
CMYKcmyk(0%, 82%, 6%, 0%)
LABlab(61.1 91.1 -50.7)
LCHlch(61.1 104.3 330.9)
OKLCHoklch(0.704 0.296 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2def on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#ff2def on black: 6.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.6%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta82.4%
Yellow6.3%
Key (black)0.0%

Color previews

#ff2def text on a black background

contrast 6.87:1

Card sample

#ff2def text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2def

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2def in the Color Lab