Magenta color #FF00FF
Magenta is one of the CSS named colors (keyword magenta) with the hex code #FF00FF — RGB 255, 0, 255, HSL 300°, 100%, 50%.
#FF00FFMagenta
Color codes
- HEX
#FF00FF- RGB
rgb(255, 0, 255)- HSL
hsl(300, 100%, 50%)- CMYK
0%, 100%, 0%, 0%- OKLCH
oklch(70.2% 0.322 328.4)- CSS keyword
magenta
Tints and shades
#FFEFFE#FFC3FC#FF8FFC#FF40FE#E300E3#BD00BD#990099#760076#550055#360036#1A001A
Color harmonies
Complementary
#FF00FF#00BF4F
Analogous
#AF81FF#FF00FF#FF579D
Triadic
#FF00FF#C49800#00B3C6
Split complementary
#FF00FF#96AC00#00B89F
Tetradic
#FF00FF#E98000#00BF4F#00AAF4
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Magenta text on white | 3.14 : 1 | 56 | AA for large text only |
| Magenta text on black | 6.70 : 1 | -46 | AA — body text |
| White text on Magenta | 3.14 : 1 | -61 | AA for large text only |
| Black text on Magenta | 6.70 : 1 | 48 | AA — body text |
Frequently asked questions
What is the hex code of Magenta?
Magenta has the hex code #FF00FF, which is RGB 255, 0, 255 and HSL 300°, 100%, 50%.
Which text color reads best on Magenta?
Black text: contrast 6.70 : 1 (white text: 3.14 : 1).
Which colors go well with Magenta?
Its complementary color is #00BF4F; analogous colors are #AF81FF and #FF579D; a triadic set adds #C49800 and #00B3C6.
Similar colors
- Bright Magenta #FF08E8
- Pink/purple #EF1DE7
- Violet Pink #FB5FFC
- Hot Magenta #F504C9
- Heliotrope #D94FF5
- Purple/pink #D725DE
- Candy Pink #FF63E9
- Pinkish Purple #D648D7
- Hot Purple #CB00F5
- Purpleish Pink #DF4EC8
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)