Magenta — #ff00ff

Magenta (#ff00ff) is a medium, vivid pink. It is a CSS named color, so you can use it in stylesheets as color: magenta as well as by its hex code. In RGB it is rgb(255, 0, 255); in HSL, hsl(300, 100%, 50%).

#ff00ff

Color conversions

Hex#ff00ff
CSS namemagenta (alias: fuchsia)
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)
CMYK0%, 100%, 0%, 0%
CSS examplecolor: #ff00ff; background-color: rgb(255, 0, 255);

Tints and shades of #ff00ff

The hue stepped through seven lightness levels, each matched to the closest named or web-safe color — useful for backgrounds, borders, text and hover states that all belong to one family. Click any swatch for its full breakdown.

Color schemes with #ff00ff

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #ff00ff background, black text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)3.14:1FailsAA
Black text (#000000)6.70:1AAAAA

Similar named colors

The CSS named colors closest to #ff00ff: