Skip to content

#ef2ccf

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

RGB
239, 44, 207
HSL
310°, 86%, 56%
CMYK
0, 82, 13, 6
Luminance
0.2466

Every format

HEX#ef2ccf
RGBrgb(239, 44, 207)
HSLhsl(310, 86%, 56%)
CMYKcmyk(0%, 82%, 13%, 6%)
LABlab(56.7 84.0 -39.7)
LCHlch(56.7 92.9 334.7)
OKLCHoklch(0.663 0.270 336.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ef2ccf on white: 3.54:1
AA ✗ fail · AA-large · AAA
Aa
#ef2ccf on black: 5.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green17.3%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta81.6%
Yellow13.4%
Key (black)6.3%

Color previews

#ef2ccf text on a black background

contrast 5.93:1

Card sample

#ef2ccf text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef2ccf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ef2ccf in the Color Lab