# Magenta color guide

> Magenta is #FF00FF (rgb(255, 0, 255)). Pairings, WCAG contrast, harmonies, shades and tints for magenta.

Source: https://www.linearity.io/academy/colors/magenta/

#FF00FF

HEX

#FF00FF

RGB

rgb(255, 0, 255)

HSL

hsl(300, 100%, 50%)

CMYK

cmyk(0%, 100%, 0%, 0%)

A printing primary, and it looks like one — maximum saturation, hard to place, and it vibrates against green.

Best for

Print production and deliberate maximalism.

## Accessibility

Sample

Magenta text on white 3.14:1 AA Large

Sample

White text on magenta 3.14:1 AA Large

Sample

Magenta text on black 6.7:1 AA

Sample

Black text on magenta 6.7:1 AA

Ratios follow WCAG 2.1. AA needs 4.5:1 for body text, AAA needs 7:1; large text passes AA at 3:1. To test magenta against any other color, use the [color contrast checker](https://www.linearity.io/tools/contrast-checker/).

## Colors that go with magenta

Combinations that hold up in a real layout rather than only on the colour wheel.

[Black#000000](https://www.linearity.io/academy/colors/black/)[White#FFFFFF](https://www.linearity.io/academy/colors/white/)[Charcoal#36454F](https://www.linearity.io/academy/colors/charcoal/)

## Magenta color harmonies

Complementary

The opposite hue — highest contrast, best used sparingly.

#FF00FF #00FF00

Analogous

Neighbouring hues that sit together calmly.

#8000FF #FF00FF #FF0080

Triadic

Three evenly spaced hues — vivid but balanced.

#FF00FF #FFFF00 #00FFFF

Split complementary

Softer than complementary, with the same tension.

#FF00FF #80FF00 #00FF80

## Magenta shades and tints

The same hue and saturation across ten lightness steps — the basis of a usable colour ramp in a design system.

#FFE5FF#FFB3FF#FF80FF#FF4DFF#FF1AFF#E600E6#B300B3#800080#4D004D#290029

## Magenta FAQ

What is the hex code for magenta?

Magenta is #FF00FF. In other formats that is rgb(255, 0, 255), hsl(300, 100%, 50%), and approximately cmyk(0%, 100%, 0%, 0%) for print.

What colors go with magenta?

Black, White, Charcoal all pair well with magenta. Print production and deliberate maximalism.

Is magenta accessible for text?

Not on white: magenta reaches only 3.14:1 there, below the 4.5:1 WCAG AA threshold. Use it as a background with black text on top, or reserve it for large display type.

Should text on magenta be black or white?

Use black text. It gives the higher contrast ratio of the two against #FF00FF.

## More pink colors

[Hot Pink#FF69B4](https://www.linearity.io/academy/colors/hot-pink/)[Rose#FF007F](https://www.linearity.io/academy/colors/rose/)[Blush#FFB6C1](https://www.linearity.io/academy/colors/blush/)[Dusty Rose#DCAE96](https://www.linearity.io/academy/colors/dusty-rose/)[Fuchsia#C154C1](https://www.linearity.io/academy/colors/fuchsia/)[Salmon#FA8072](https://www.linearity.io/academy/colors/salmon/)

## Try it now. Turn any idea into a design.

Free to start. No credit card required. [See pricing](https://www.linearity.io/pricing/)

---
From https://www.linearity.io. An index of the site for AI agents is at https://www.linearity.io/llms.txt
