Skip to content

#ff16cd

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

RGB
255, 22, 205
HSL
313°, 100%, 54%
CMYK
0, 91, 20, 0
Luminance
0.2624

Every format

HEX#ff16cd
RGBrgb(255, 22, 205)
HSLhsl(313, 100%, 54%)
CMYKcmyk(0%, 91%, 20%, 0%)
LABlab(58.3 90.2 -36.0)
LCHlch(58.3 97.1 338.3)
OKLCHoklch(0.679 0.288 340.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff16cd on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#ff16cd on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green8.6%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta91.4%
Yellow19.6%
Key (black)0.0%

Color previews

#ff16cd text on a black background

contrast 6.25:1

Card sample

#ff16cd text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff16cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff16cd in the Color Lab