Huebook

Magenta

Magenta is a medium, saturated purple color with the hex code #FF00FF (hue 300°, saturation 100%, lightness 50%). It is also the CSS named color magenta.

#FF00FF
NameHEXRGBHSLCMYKOKLCH
Magenta#FF00FF255, 0, 255300°, 100%, 50%0, 100, 0, 070.2% 0.322 328

Contrast with white text 3.14:1, with black text 6.70:1 — use black text on Magenta.

magenta is one of the 148 named colors in CSS, with exactly this value, so color: magenta works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Magenta

Move the sliders to make Magenta lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Magenta
  • HEX#FF00FF
  • RGBrgb(255 0 255)
  • HSLhsl(300 100% 50%)

Variations of Magenta

Text on Magenta

White textThe quick brown fox3.14:1 · AA large text only · AAA fail
Black textThe quick brown fox6.70:1 · AA pass · AAA large text only

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Magenta with color blindness

Normal #FF00FF
Protanopia #007FFF
Deuteranopia #689BFA
Tritanopia #FF4A97

How Magenta appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#FFCCFF
#FF80FF
#FF33FF
#E600E5
#990099
#4D004C

Colors that go with Magenta

Six color schemes built on Magenta with classic harmony rules. The complementary scheme pairs it with Green (#00FF00), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Magenta

Similar medium pink colors

Questions

What is the hex code for Magenta?

#FF00FF — RGB 255, 0, 255, HSL 300°, 100%, 50%.

Is Magenta a warm or cool color?

Cool — its hue sits at 300° on the color wheel.