Skip to content

Magenta

#FF00FF

Magenta is the hex color #FF00FF, with RGB values 255, 0, 255. It is a CSS color keyword, so browsers render it from the name alone, and its value is fixed by the CSS Color Module.

PinkCSS keyword

Quick colors, then fill the screen

Or a gradient

Or let it move

#FF00FFrgb(255, 0, 255) · hsl(300, 100%, 50%)

Magenta color codes

Every value for #FF00FF, ready to paste. Click any code to copy it.

Channel values for #FF00FF in each number base
ChannelDecimalShareHexOctalBinary
Red255100%FF37711111111
Green00%00000000000
Blue255100%FF37711111111

The nearest web-safe color is #FF00FF, from the 216-color palette browsers agreed on before displays could be trusted with more.

About magenta

Red and blue at full output with no green, and identical to the CSS keyword fuchsia. There is no magenta wavelength: your brain invents it to close the gap in the spectrum.

Shades, tints and tones

Every step is generated from #FF00FF. Click a swatch to copy its hex.

Shades of magenta

A shade is the base color with black mixed in. Shades read as deeper and more dramatic, and they are what you reach for when a color needs to recede or carry weight.

Tints of magenta

A tint is the base color with white mixed in. Tints turn pastel as they lighten, which makes them useful for backgrounds and for anything that has to sit behind text.

Tones of magenta

A tone is the base color with grey mixed in. Tones lose the shout without losing the hue, and they are usually what separates a considered palette from a loud one.

The magenta scale

The same color as the 50 to 950 ladder every CSS framework uses, with #FF00FF at 500. Click a step to copy its hex, or take the whole scale as variables for a design system.

Color schemes built on magenta

Harmonies are positions on the color wheel rather than matters of taste, which is why they keep working across very different designs.

Complementary

Two colors from opposite sides of the wheel. They make each other look more vivid, which is why the pairing is used for anything that needs to stand out.

Analogous

Three neighbours on the wheel. Nothing competes, so the result reads calm and settled, closer to how colour behaves in nature.

Split complementary

The base plus the two colors either side of its complement. It keeps most of the contrast while being much easier to balance.

Triadic

Three colors spaced evenly around the wheel. Strong and lively, and usually best with one dominant color and two accents.

Tetradic

Two complementary pairs, forming a rectangle on the wheel. The richest scheme available, and the hardest to keep from shouting.

Monochromatic

One hue at different lightness levels. Effortlessly cohesive, and the safest way to build a palette around a brand color.

Colors close to #FF00FF

Near neighbours, for when this color is almost right. Each one shifts hue, saturation or lightness by a small step.

Magenta color palettes

Five-color palettes built around #FF00FF, each following a different scheme. Click any swatch to copy it, or open the generator to build your own.

Analogous

Complementary

Triadic

Monochromatic

Open the palette generator to lock the colors you like and regenerate the rest.

Contrast and readability

Whether magenta works as text, and what to put on top of it when it is the background. Ratios follow WCAG 2.1, where 4.5 is the bar for body text and 3 for large text.

Magenta text on white background

3.14:1 · Large text only

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Magenta text on black background

6.7:1 · Good

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Used the other way round, #FF00FF as a background takes #000000 text. That is the higher-contrast of the two, and it is what the tool picks automatically for any chrome sitting on your color.

Magenta reads better on a black background of the two. Contrast is a property of the pair, not of one color, so a color that fails here can still be perfectly usable against a different partner.

Share

The pink family

Magenta sits in the pink family. Every named pink in the library, with magenta first.

SwatchNameHexRGBHSL
Magenta is a CSS keyword is the color on this page#FF00FF255, 0, 255300, 100%, 50%
Pink is a CSS keyword#FFC0CB255, 192, 203350, 100%, 88%
Hot pink is a CSS keyword#FF69B4255, 105, 180330, 100%, 71%
Rose#FF007F255, 0, 127330, 100%, 50%
Dusty rose#D8A7B1216, 167, 177348, 39%, 75%
Baby pink#F4C2C2244, 194, 1940, 69%, 86%
Pale violet red is a CSS keyword#DB7093219, 112, 147340, 60%, 65%