Skip to content

#ff2dcf

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

RGB
255, 45, 207
HSL
314°, 100%, 59%
CMYK
0, 82, 19, 0
Luminance
0.2764

Every format

HEX#ff2dcf
RGBrgb(255, 45, 207)
HSLhsl(314, 100%, 59%)
CMYKcmyk(0%, 82%, 19%, 0%)
LABlab(59.6 87.0 -35.1)
LCHlch(59.6 93.8 338.0)
OKLCHoklch(0.688 0.277 340.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2dcf on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#ff2dcf on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.6%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta82.4%
Yellow18.8%
Key (black)0.0%

Color previews

#ff2dcf text on a black background

contrast 6.53:1

Card sample

#ff2dcf text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2dcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2dcf in the Color Lab