Skip to content

#ff01cd

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

RGB
255, 1, 205
HSL
312°, 100%, 50%
CMYK
0, 100, 20, 0
Luminance
0.2569

Every format

HEX#ff01cd
RGBrgb(255, 1, 205)
HSLhsl(312, 100%, 50%)
CMYKcmyk(0%, 100%, 20%, 0%)
LABlab(57.8 91.8 -36.8)
LCHlch(57.8 98.9 338.2)
OKLCHoklch(0.675 0.293 340.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff01cd on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#ff01cd on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green0.4%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta99.6%
Yellow19.6%
Key (black)0.0%

Color previews

#ff01cd text on a black background

contrast 6.14:1

Card sample

#ff01cd text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff01cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff01cd in the Color Lab