Skip to content

#ff20cf

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

RGB
255, 32, 207
HSL
313°, 100%, 56%
CMYK
0, 88, 19, 0
Luminance
0.2680

Every format

HEX#ff20cf
RGBrgb(255, 32, 207)
HSLhsl(313, 100%, 56%)
CMYKcmyk(0%, 88%, 19%, 0%)
LABlab(58.8 89.2 -36.3)
LCHlch(58.8 96.3 337.9)
OKLCHoklch(0.683 0.284 339.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff20cf on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#ff20cf on black: 6.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green12.5%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta87.5%
Yellow18.8%
Key (black)0.0%

Color previews

#ff20cf text on a black background

contrast 6.36:1

Card sample

#ff20cf text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff20cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff20cf in the Color Lab