Magenta color
Magenta (#FF00FF) is a vivid purplish red made of full red and full blue light. It is one of the four CMYK printing inks and a bold accent for fashion, music and entertainment designs.
- HEX
- #FF00FF
- RGB
- rgb(255, 0, 255)
- HSL
- hsl(300, 100%, 50%)
- CMYK
- cmyk(0%, 100%, 0%, 0%)
Magenta shades and tints
Darker shades for text and borders, lighter tints for backgrounds and hover states. Click a value to copy it.
- #D400D4
- #AA00AA
- #800080
- #550055
- #2B002B
- #FF2BFF
- #FF55FF
- #FF80FF
- #FFAAFF
- #FFD4FF
Magenta color palettes
Ready-made color schemes built around #FF00FF using standard color-wheel rules.
Complementary palette
- #990099
- #FF00FF
- #E599E5
- #00FF00
- #00A300
Analogous palette
- #5500FF
- #AA00FF
- #FF00FF
- #FF00AA
- #FF0055
Triadic palette
- #FF00FF
- #FFFF00
- #00FFFF
- #F3E2F3
- #808000
Monochromatic palette
- #4D004D
- #A300A3
- #FF00FF
- #FF5CFF
- #FFB8FF
Text contrast on magenta
White text
3.14:1 · AA large text only
Black text
6.70:1 · Passes AA
Colors similar to magenta
Magenta color FAQ
What is the HEX code for magenta?
The standard HEX code for magenta is #FF00FF. In RGB it is rgb(255, 0, 255), in HSL hsl(300, 100%, 50%) and in CMYK cmyk(0%, 100%, 0%, 0%).
What colors go with magenta?
Its complementary color is #00FF00, which gives the strongest contrast. For a calmer look, use the analogous palette (#5500FF, #AA00FF, #FF00FF, #FF00AA, #FF0055) or the shades and tints of magenta shown on this page.
Is magenta a warm or cool color?
Magenta is a cool color, based on where its hue (300°) sits on the color wheel.
Which text color is readable on magenta?
Black text has the higher contrast on #FF00FF, at 6.70:1. That passes WCAG AA for normal text.
How do I use magenta in CSS?
Use the HEX value directly, for example color: #FF00FF; or background-color: #FF00FF;. You can also store it as a variable: --magenta: #FF00FF;.

