Magenta (#FF00FF) — Color Codes, Meaning & UI Palettes
Magenta is an extra-spectral color synthesized by our visual perception when red and blue wavelengths blend. It represents non-conformity, audacity, and electric creative energy.
#FF00FF. In RGB, it is rgb(255, 0, 255). In HSL, it is hsl(300deg, 100%, 50%), and its print CMYK formulation is cmyk(0%, 100%, 0%, 0%). It has a relative luminance of 0.285 and pairs best in UI design with Carbon Black (#12141A) and Electric Cyan (#00FFFF).
WCAG 2.1 Accessibility & Contrast Rating
11-Step Tints & Shades Scale (Tailwind 50–950)
Mathematically balanced luminance scale for design tokens and CSS color palettes. Click any shade to copy hex code:
Color Harmonies & Palette Schemes
Complementary
Analogous -30°
Analogous +30°
Triadic +120°
Triadic +240°
Curated UI Design Pairings for Magenta
Use sparingly as a high-intensity accent for live notifications, gaming HUDs, and creative agency hero badges.
Export Magenta Code Snippets
--color-magenta-color: #FF00FF;
'magenta-color': '#FF00FF'
Color(hex: "#FF00FF")
{"name": "Magenta", "hex": "#FF00FF"}
Frequently Asked Questions About Magenta (#FF00FF)
What is the exact HEX code for Magenta?
The exact HEX code for Magenta is #FF00FF. In 8-digit hexadecimal (with 100% opacity), it is #FF00FFFF. Its RGB decimal equivalent is rgb(255, 0, 255) and its HSL value is hsl(300deg, 100%, 50%).
What colors go best with Magenta in UI and web design?
Magenta pairs exceptionally well with Carbon Black (#12141A), Electric Cyan (#00FFFF), Pure White (#FFFFFF), and Deep Violet (#8A2BE2).
How do I use Magenta in CSS and Tailwind CSS?
In standard CSS, apply it directly via color: #FF00FF; or background-color: #FF00FF;. In Tailwind CSS, use arbitrary value syntax like bg-[#ff00ff] or text-[#ff00ff], or define it in your Tailwind v4 @theme block as --color-magenta-color: #FF00FF;.
Is Magenta WCAG accessible for readable text?
Against a pure white background (#FFFFFF), Magenta achieves a contrast ratio of 3.14:1 (AA Large). Against a pure black background (#000000), it achieves 6.7:1 (AA). Check custom contrast pairings on Pikka's WCAG Contrast Checker.
Explore More Colors in the Dictionary
Browse our complete catalog of curated named colors, harmonic palettes, and accessible UI combinations.