Skip to content

#ff2cef

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

RGB
255, 44, 239
HSL
305°, 100%, 59%
CMYK
0, 83, 6, 0
Luminance
0.2929

Every format

HEX#ff2cef
RGBrgb(255, 44, 239)
HSLhsl(305, 100%, 59%)
CMYKcmyk(0%, 83%, 6%, 0%)
LABlab(61.0 91.3 -50.8)
LCHlch(61.0 104.5 330.9)
OKLCHoklch(0.704 0.297 331.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green17.3%
Blue93.7%

CMYK percentages

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

Color previews

#ff2cef text on a black background

contrast 6.86:1

Card sample

#ff2cef text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2cef in the Color Lab