PINK

Magenta

No. 096

#FF00FFrgb(255, 0, 255)hsl(300, 100%, 50%)

Magenta is #FF00FF, rgb(255, 0, 255). Short form: #F0F, the exact same color.

In CSS: fuchsia, magenta

Conversions
HEX#FF00FF
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)
HSVhsv(300, 100%, 100%)
CMYKcmyk(0%, 100%, 0%, 0%)
Copy CSS
color: #ff00ff; /* rgb */ color: rgb(255, 0, 255); /* hsl */ color: hsl(300, 100%, 50%);
Shades
Tints

Colors that go with Magenta

Contrast

1 of 2 backgrounds pass AA

  1. On whiteFail3.14 : 1
  2. On ink blackPass6.10 : 1

About Magenta

Magenta is the hex color #FF00FF, which translates to rgb(255, 0, 255) in RGB and hsl(300, 100%, 50%) in HSL. On the color wheel it sits at 300 degrees, with a saturation of 100 percent and a lightness of 50 percent. Its OKLCH chroma of 0.323 is high, so Magenta is one of the more vivid pink tones here and is easy to overuse at large sizes.

How Magenta compares

Magenta is exactly the CSS keyword fuchsia, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is fuchsia-500 (#E12AFB), at a distance of 11.3. Inside this library the closest neighbour is Dark Violet at 31.6. Sorted by lightness, Magenta is number 7 of the 27 pink colors here.

Text on Magenta

One of the five common text colors below clears WCAG AA for normal text on Magenta, led by Ink black at 6.10:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Magenta already loaded as the background.

Contrast of common text colors on Magenta. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF3.14:1FailPassFail
Ink black #0F0F126.10:1PassPassFail
Mid grey #6B72801.54:1FailFailFail
Dark grey #3741513.29:1FailPassFail
Light grey #E5E7EB2.53:1FailFailFail

Building a palette around Magenta

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Magenta for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Magenta locked and let it fill in the rest.

Full values for Magenta

FormatValue
HEX#FF00FF
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)
HSVhsv(300, 100%, 100%)
CMYKcmyk(0%, 100%, 0%, 0%)
OKLCHoklch(70.17% 0.3225 328.36)
CIELABlab(60.32 98.23 -60.82)

Frequently asked questions

What is the RGB value of Magenta?

Magenta (#FF00FF) is rgb(255, 0, 255): 255 red, 0 green and 255 blue on the 0 to 255 scale. Red and blue share the lead at 255 with green at 0, which puts the hue at 300 degrees. In HSL the same color is hsl(300, 100%, 50%).

What colour is #FF00FF?

#FF00FF is Magenta, a mid pink colour with a hue of 300 degrees, 100% saturation and 50% lightness. For print the CMYK breakdown is 0% cyan, 100% magenta, 0% yellow and 0% black. Its nearest neighbour in this library is Dark Violet, 31.6 away in CIELAB, a difference you can see.

Is Magenta a CSS color name?

Yes. The keyword magenta is one of the 148 named colors in CSS Color Module Level 4, so color: magenta; renders exactly #FF00FF. CSS also defines fuchsia with the same value, so either spelling works.

Is #F0F the same as #FF00FF?

Yes. In a 3-digit hex code every digit is doubled, so #F0F expands to #FF00FF, which is Magenta. Browsers render both identically; the short form only saves three characters.

What colors go with Magenta?

Opposite Magenta on the color wheel sits the complementary #00FF00 (Lime), the boldest accent by hue. For a calmer scheme use the analogous neighbours #8000FF (close to Violet Wheel) and #FF0080; for a balanced three-color scheme use the triadic pair #FFFF00 (Yellow) and #00FFFF (Cyan). Of these, #FFFF00 has the most contrast against Magenta, at 2.92:1, so pair it by hue, not for legibility.

What text color is readable on Magenta?

Ink black (#0F0F12) is the most readable on Magenta, at 6.10:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.

Use Magenta in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.