Magenta Color

Magenta is a vivid, medium magenta with hex code #FF00FF. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.

#FF00FFRGB 255 0 255
Magenta#FF00FF

Magenta color codes

HEX#FF00FF
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)
HSV300°, 100%, 100%
CMYK0%, 100%, 0%, 0%
OKLCHoklch(70.2% 0.322 328.4)
Tailwindbg-[#ff00ff]

Closest Tailwind colour: fuchsia-500 (#D946EF). Convert any colour in the Color Converter.

About Magenta

Magenta (#FF00FF) is a vivid, medium magenta. In the RGB model it is 100% red, 0% green and 100% blue; its hue angle is 300°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 0% yellow and 0% black.

It is a warm colour and appears in our shades of purple. Text on it reads best in black (6.7:1 contrast).

Magenta tints and shades

Tints mix magenta with white; shades mix it with black. Click to copy.

10%
20%
30%
40%
50%
60%
70%
80%
90%
Base
-10%
-20%
-30%
-40%
-50%
-60%
-70%
-80%
-90%

Colors that go with Magenta

Complementary

Magenta
near Lime

Analogous

Magenta
near Rose

Triadic

Magenta
near Aqua

Split complementary

Magenta

Magenta contrast

White text3.14:1
  • AA text fail
  • AAA text fail
  • AA large pass
Black text6.70:1
  • AA text pass
  • AAA text fail
  • AA large pass

Using Magenta in CSS

.brand {
  color: #ff00ff;
}
.button {
  background: #ff00ff;
  color: #111;
}
.hero {
  background: linear-gradient(135deg, #ff59ff, #ff00ff, #a600a6);
}

Similar colors

Gradients with Magenta

Very closeCurated

Peony Kelp

Very closeCurated

Blush Basil

More gradients near #FF00FF →

Magenta FAQ

What color is Magenta?

Magenta is a vivid, medium magenta. Its hex code is #FF00FF and it is a warm colour.

What is the hex code for Magenta?

The hex code for Magenta is #FF00FF. In RGB that is rgb(255, 0, 255), and in HSL hsl(300, 100%, 50%).

What is Magenta in CMYK?

Magenta is roughly C 0%, M 100%, Y 0%, K 0% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.

What colors go well with Magenta?

Its complementary colour is #00FF00. For a calmer palette use its analogous colours #8000FF and #FF0080, or tints and shades of Magenta itself.

Is white or black text better on Magenta?

Black text reads better on Magenta: 6.7:1 contrast, against 3.1:1 for white. WCAG asks for 4.5:1 for body text.

Browse colors