Magenta
Magenta is a medium, saturated purple color with the hex code #FF00FF (hue 300°, saturation 100%, lightness 50%). It is also the CSS named color magenta.
- HEX
#FF00FF - RGB
rgb(255 0 255) - HSL
hsl(300 100% 50%) - OKLCH
oklch(70.2% 0.322 328)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Magenta | #FF00FF | 255, 0, 255 | 300°, 100%, 50% | 0, 100, 0, 0 | 70.2% 0.322 328 |
Contrast with white text 3.14:1, with black text 6.70:1 — use black text on Magenta.
magenta is one of the 148 named colors in CSS, with exactly this value, so color: magenta works in any browser without a hex code.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Magenta
Move the sliders to make Magenta lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#FF00FF - RGB
rgb(255 0 255) - HSL
hsl(300 100% 50%)
Variations of Magenta
Text on Magenta
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Magenta with color blindness
How Magenta appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Magenta
Six color schemes built on Magenta with classic harmony rules. The complementary scheme pairs it with Green (#00FF00), the color opposite it on the color wheel.
- Magenta Complementary Color Scheme#FF00FF#FB5FFC#00FF00#00B800#66FF66
- Magenta Analogous Color Scheme#0000FF#7F00FF#FF00FF#FF0080#FF0000
- Magenta Triadic Color Scheme#FF00FF#FFFF00#00FFFF#FF66FF#A8B504
- Magenta Split-complementary Color Scheme#FF00FF#88FF00#04F489#B300B3#AAFF55
- Magenta Tetradic Color Scheme#FF00FF#FF7F00#00FF00#007FFF#FF66FF
- Magenta Monochromatic Color Scheme#660066#B300B3#FF00FF#FC53FC#FF99FF
Nearest CSS named colors
- Orchid (CSS) (
orchid): Orchid (CSS) (#DA70D6) is lighter than Magenta (relative luminance 0.313 vs 0.285) and less saturated, with the same hue. - Medium Orchid (
mediumorchid): Medium Orchid (#BA55D3) is darker than Magenta (relative luminance 0.216 vs 0.285) and less saturated, with its hue 12° away. - Violet (CSS) (
violet): Violet (CSS) (#EE82EE) is lighter than Magenta (relative luminance 0.403 vs 0.285) and less saturated, with the same hue. - Deep Pink (
deeppink): Deep Pink (#FF1493) is darker than Magenta (relative luminance 0.239 vs 0.285) and equally saturated, with its hue 28° away.
Gradients with Magenta
Similar medium pink colors
- Akari Red#C90B42
- Amor#EE3377
- Amora Purple#BB22AA
- Anger#DD0055
- Aphroditean Fuchsia#DD14AB
- Awkward Purple#D208CC
- Barbara#FF0FF3
- Bat’s Blood Soup#EE3366
- Beet Wave#D4265D
- Beetroot Purple#D33376
- Benevolent Pink#DD1188
- Bermuda Onion#9D5A8F
- Berries Galore#AB7CB4
- Berry Blast#FF017F
- Big Bang Pink#FF0099
- Blazing Dragonfruit#FF0054
- Borderline Pink#EE1166
- Bottom of My Heart#CC0077
Questions
What is the hex code for Magenta?
#FF00FF — RGB 255, 0, 255, HSL 300°, 100%, 50%.
Is Magenta a warm or cool color?
Cool — its hue sits at 300° on the color wheel.