How to use Magenta Color Code
- Look at the Magenta swatch and copy the HEX, RGB or HSL value you need.
- Use the shades and tints below for darker and lighter versions.
- Check the contrast values before using it for text.
Magenta colour values
Magenta is #FF00FF in HEX. Its RGB values are 255, 0 and 255.
In HSL it is 300 degrees hue, 100% saturation and 50% lightness. In CMYK it is 0%, 100%, 0%, 0%.
| Format | Value |
|---|---|
| HEX | #FF00FF |
| RGB | rgb(255, 0, 255) |
| HSL | hsl(300, 100%, 50%) |
| CMYK | cmyk(0%, 100%, 0%, 0%) |
Magenta shades and tints
Darker shades of Magenta run from #D400D4 to #2A002A. Lighter tints run from #FF2AFF to #FFD4FF.
Use a darker shade for headings and a lighter tint for backgrounds.
| Shade | HEX |
|---|---|
| Shade 1 | #D400D4 |
| Shade 2 | #AA00AA |
| Shade 3 | #800080 |
| Shade 4 | #550055 |
| Shade 5 | #2A002A |
FAQ
What is the HEX code for Magenta?
The HEX code for Magenta is #FF00FF.
What is Magenta in RGB?
Magenta is rgb(255, 0, 255).
Can I use this colour in CSS?
Yes. Copy the HEX or RGB value and paste it into any CSS colour property.
Is this colour free to use?
Yes. Colour values are facts, not owned designs, so you can use them anywhere.