Skip to content

#ff0dfe

a balanced, electric magenta / pink · warm · “magenta”

RGB
255, 13, 254
HSL
300°, 100%, 53%
CMYK
0, 95, 0, 0
Luminance
0.2870

Every format

HEX#ff0dfe
RGBrgb(255, 13, 254)
HSLhsl(300, 100%, 53%)
CMYKcmyk(0%, 95%, 0%, 0%)
LABlab(60.5 97.3 -60.0)
LCHlch(60.5 114.3 328.4)
OKLCHoklch(0.703 0.319 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff0dfe on white: 3.12:1
AA ✗ fail · AA-large · AAA
Aa
#ff0dfe on black: 6.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green5.1%
Blue99.6%

CMYK percentages

Cyan0.0%
Magenta94.9%
Yellow0.4%
Key (black)0.0%

Color previews

#ff0dfe text on a black background

contrast 6.74:1

Card sample

#ff0dfe text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff0dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff0dfe in the Color Lab