Saturated Vibrant Fuchsia Category: Pink

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.

Quick Answer (Magenta Color Code): The exact HEX code for Magenta is #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).
Click to Copy HEX
Magenta
#FF00FF
HEX
#FF00FF
RGB
rgb(255, 0, 255)
HSL
hsl(300deg, 100%, 50%)
CMYK (Print)
cmyk(0%, 100%, 0%, 0%)
Apple Display P3
color(display-p3 1.000 0.000 1.000)

WCAG 2.1 Accessibility & Contrast Rating

White Text (#FFFFFF) 3.14:1 (AA Large)
Black Text (#000000) 6.7:1 (AA)

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:

50
#FFF0FF
100
#FFD6FF
200
#FFADFF
300
#FF7AFF
400
#FF3DFF
500
#FF00FF
600
#CC00CC
700
#990099
800
#660066
900
#380038
950
#1F001F

Color Harmonies & Palette Schemes

Complementary

#00FF00
Opposite 180° Contrast

Analogous -30°

#7F00FF
Natural Harmony

Analogous +30°

#FF0080
Natural Harmony

Triadic +120°

#FFFF00
120° Balanced Triad

Triadic +240°

#00FFFF
120° Balanced Triad

Curated UI Design Pairings for Magenta

Use sparingly as a high-intensity accent for live notifications, gaming HUDs, and creative agency hero badges.

Carbon Black
#12141A
High-Voltage Background
Electric Cyan
#00FFFF
Cyberpunk Neon Pair
Pure White
#FFFFFF
Sharp Focal Element
Deep Violet
#8A2BE2
Analogous Gradient Step

Export Magenta Code Snippets

CSS Variable --color-magenta-color: #FF00FF;
Tailwind Config 'magenta-color': '#FF00FF'
Swift / SwiftUI Color(hex: "#FF00FF")
JSON Design Token {"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.

Named Color Dictionary Interactive Color Wheel Tint & Shade Generator