Skip to content

#ff3def

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

RGB
255, 61, 239
HSL
305°, 100%, 62%
CMYK
0, 76, 6, 0
Luminance
0.3083

Every format

HEX#ff3def
RGBrgb(255, 61, 239)
HSLhsl(305, 100%, 62%)
CMYKcmyk(0%, 76%, 6%, 0%)
LABlab(62.4 87.5 -48.7)
LCHlch(62.4 100.1 330.9)
OKLCHoklch(0.713 0.284 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff3def on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#ff3def on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green23.9%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta76.1%
Yellow6.3%
Key (black)0.0%

Color previews

#ff3def text on a black background

contrast 7.17:1

Card sample

#ff3def text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff3def

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff3def in the Color Lab