Skip to content

Magenta (Fuchsia)

Magenta is a medium, vivid color. Hex code #FF00FF.

Magenta#FF00FF

Magenta color codes

  • CSS namemagenta, fuchsia
  • HEX#FF00FF
  • RGBrgb(255, 0, 255)
  • HSLhsl(300, 100%, 50%)
  • OKLCHoklch(70.2% 0.322 328.4)
HSB and CMYK values
  • HSB / HSVhsb(300, 100%, 100%)
  • CMYKC0 M100 Y0 K0

White text

3.13:1 · passes WCAG AA for large text only

Black text

6.69:1 · passes WCAG AA

Shades of magenta

A darker shade of magenta is #A905A9 (500), and a lighter one is #FEBAFA (100).

Colors that go with magenta

Complementary

Analogous

Triadic

The complementary color of magenta is #00FF00, which is lime.

Click a color to copy its hex code.

Colors similar to magenta

Each compared with magenta.

About this color

Magenta in CSS and design

Magenta is one of the extended color keywords from the X11 color names. Its other name, fuchsia, is one of the 16 basic color keywords. These four lines all give the same magenta:

color: magenta;
color: #FF00FF;
color: rgb(255, 0, 255);
color: hsl(300, 100%, 50%);

What to know about magenta

Magenta is named after Magenta in northern Italy, site of a battle in 1859 fought shortly before the red dye that took its name was discovered. Fuchsia comes from the fuchsia plant, named after the German botanist Leonhard Fuchs. Merriam-Webster defines magenta as a deep purplish red and fuchsia as a vivid reddish purple, but in CSS both are exactly #FF00FF: full red plus full blue.

Frequently asked questions

What is the hex code for magenta (fuchsia)?

#FF00FF. Magenta and fuchsia are two names for the same color, and CSS accepts both keywords, magenta and fuchsia, in every browser.

What is magenta in RGB and HSL?

In RGB it is rgb(255, 0, 255) and in HSL hsl(300, 100%, 50%). In CMYK it is about C0 M100 Y0 K0, though printed colors vary with paper and ink.

Should I use black or white text on magenta?

Black text works better: it has a contrast ratio of 6.69:1 and passes WCAG AA. White text reaches 3.13:1.

What is the complementary color of magenta?

#00FF00, which is lime. It sits opposite magenta on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with magenta?

For strong contrast, pair it with its complementary color #00FF00. For a calmer look, combine it with its analogous neighbors #8000FF and #FF0080. The palette generator builds more combinations.

What color is FF00FF?

FF00FF (#FF00FF) is magenta, also called fuchsia: red and blue at their full 255, green at zero. CSS accepts the keywords magenta and fuchsia, rgb(255, 0, 255) and the short form #F0F for the same color.

Does #FF00FF print as magenta?

Not as you see it on screen. Screen magenta is more saturated than printing inks can reproduce, so it is mapped to the nearest printable color. With the Generic CMYK profile that ships with macOS, #FF00FF becomes about C31 M59 Y0 K0, which looks like a muted mauve (#A573A4) and keeps less than a third of its colorfulness. The simple formula, C0 M100 Y0 K0, hides that.