Skip to content

#ff0fe2

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

RGB
255, 15, 226
HSL
307°, 100%, 53%
CMYK
0, 94, 11, 0
Luminance
0.2709

Every format

HEX#ff0fe2
RGBrgb(255, 15, 226)
HSLhsl(307, 100%, 53%)
CMYKcmyk(0%, 94%, 11%, 0%)
LABlab(59.1 93.5 -46.6)
LCHlch(59.1 104.4 333.5)
OKLCHoklch(0.688 0.302 334.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff0fe2 on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#ff0fe2 on black: 6.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green5.9%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta94.1%
Yellow11.4%
Key (black)0.0%

Color previews

#ff0fe2 text on a black background

contrast 6.42:1

Card sample

#ff0fe2 text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff0fe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff0fe2 in the Color Lab