Skip to main content

Magenta

#FF00FF·pink family·WCAG AA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Magenta (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#FF00FF
RGB
rgb(255, 0, 255)
HSL
hsl(300, 100%, 50%)
OKLCH
oklch(0.702 0.322 328)
CMYK
cmyk(0%, 100%, 0%, 0%)
Luminance:0.2848
CSS var:--color-magenta
Tailwind:bg-[#FF00FF]

Accessibility

Score: 31/100

On White (#FFF)

3.14:1

AA Large

On Black (#000)

6.7:1

AA

On Light Gray (#F5F5F5)

2.88:1

Fail

Best text color on this background:

black6.70:1
Open in Contrast Checker →

Design Applications

Background

background-color: #FF00FF

Text Color

color: #FF00FF

bg-[#FF00FF] text-[#000000]

Accent border card component

border-left: 4px solid #FF00FF

Color Meaning & Psychology

Magenta is the color printers use as a primary, which gives it an association with technical precision. But in fashion and branding, magenta feels like the most vibrant of all pinks — intense, creative, and uniquely artificial. Magenta means no compromise.

Industry Usage

Common contexts and industries where Magenta is applied in professional design.

  • Beauty, cosmetics, and personal care
  • Baby products and nursery design
  • Romantic occasions and greeting cards
  • Confectionery and dessert brands
  • Fashion and lifestyle brands targeting millennial audiences
  • Social media apps emphasizing intimacy
  • Breast cancer awareness campaigns
  • Toy brands and children's entertainment

Accessibility Considerations

Normal Text

Fails AA

4.5:1 minimum required

Large Text

Passes AA Large

3:1 minimum required

UI Components

Meets 1.4.11

3:1 for non-text UI

Magenta is a light color. Use black (#000000) text on top of it for maximum readability (6.70:1). Avoid white text on this background.

CSS & Code Examples

Background

background-color: #FF00FF;

Text

color: #FF00FF;

Border

border: 2px solid #FF00FF;

Box Shadow

box-shadow: 0 4px 20px #FF00FF40;

Gradient

background: linear-gradient(135deg, #FF00FF, #ff63ff);

Tailwind-style

--color-magenta: #FF00FF;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Magenta without a custom config.

Background

bg-[#FF00FF]

Text

text-[#FF00FF]

Border

border-[#FF00FF]

Ring

ring-[#FF00FF]

Fill

fill-[#FF00FF]

From (gradient)

from-[#FF00FF]

Via (gradient)

via-[#FF00FF]

To (gradient)

to-[#FF00FF]

Design Tokens

Ready-to-use Magenta design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-magenta: #FF00FF;
  --color-magenta-rgb: 255, 0, 255;
  --color-magenta-hsl: 300, 100%, 50%;
}

SCSS Variables

$color-magenta: #FF00FF;
$color-magenta-rgb: 255, 0, 255;
$color-magenta-hsl: 300, 100%, 50%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'magenta': '#FF00FF',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-magenta: #FF00FF;
}

JSON Design Token (W3C format)

{
  "magenta": {
    "value": "#FF00FF",
    "type": "color",
    "description": "Magenta — #FF00FF"
  }
}

What Does Magenta Mean? Color Psychology & Cultural Symbolism

Color psychology research shows pink generally reduces aggression and increases warmth perceptions, but the family's range from whisper-soft blush to neon fuchsia means the specific tone matters enormously. At #FF00FF, Magenta lands in playfulness territory—the variant of pink that best serves beauty packaging.

  • Across color psychology research, pink consistently tests high for "joy" associations, making Magenta a reliable vehicle for playfulness in cross-demographic audiences.
  • Brand designers draw on pink-family tones to project creativity and confidence—values that Magenta communicates in a medium key.
  • At 100% saturation, Magenta reads as vivid—Hot and neon pinks are among the most attention-demanding tones in design—used in fashion campaigns, music branding, and Gen-Z consumer culture to signal disruption and unapologetic self-expression.
  • Magenta's medium lightness (50%) shifts its psychological register: a balanced mid-tone that embodies warmth, playfulness, optimism, and modern confidence at its most direct.

The brands that use Magenta well are the ones that understand what they're communicating beyond gender—warmth, creativity, and the willingness to be joyful.

How to Use Magenta in Design: Applications, Pairings & Best Practices

The art of using Magenta effectively is understanding which conversation you're joining. Soft and blush, or bold and confident—the same hue family communicates very differently at different saturations and lightnesses.

  • Avoid: industries requiring seriousness or authority (finance, legal, government) unless used as a calculated subversion, and technology products targeting broad professional audiences without a specific cultural reason.
  • Color harmonies: Magenta's complementary color creates a high-energy split ideal for promotional design; its analogous palette (±30° hue) builds cohesive, monochromatic sophistication.
  • Proportional use: Magenta's vivid saturation (100%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
  • Magenta creates strong legibility with black text overlays (6.7:1 contrast ratio), making it a reliable background or surface color in design systems
  • Typography: Magenta as text requires a dark background; its 50% lightness means it provides 3.1:1 contrast on white, not meeting WCAG AA.

The brands that use Magenta well are the ones that understand what they're communicating beyond gender—warmth, creativity, and the willingness to be joyful.

Magenta Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Magenta (#FF00FF) reaches 6.70:1 contrast with black text—meeting WCAG 2.1 AA minimum of 4.5:1 for normal text and 3:1 for large text. It clears standard production accessibility requirements. Relative luminance: 28.5%.

  • As text on white (#FFFFFF): 3.14:1 — AA (large text only)
  • As text on black (#000000): 6.70:1 — AA ✓
  • Best text color on Magenta background: Black (#000000) at 6.70:1
  • WCAG 2.1 luminance: 28.5% — mid-range luminance—it sits in the transition zone where both dark and light text approaches require testing against the 4.5:1 WCAG threshold
  • Magenta qualifies for normal body text and all larger sizes (AA).
  • Color blindness consideration: protanopia and deuteranopia (red-green color blindness, ~8% of males) may affect how pink-family colors are distinguished from greens and browns. For critical UI states, supplement color alone with shape, label, or pattern cues.

For production use, test Magenta against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.

Magenta in Industry: Branding, Design & Market Applications

Magenta (#FF00FF) is most at home in industries where warmth, playfulness, optimism, and modern confidence are key brand values. Its medium quality makes it particularly effective in Beauty & Personal Care contexts, where the vivid saturation signals optimism at exactly the right register.

  • Beauty & Personal Care: Pink remains a dominant force in beauty despite its expanded semantic range. It signals femininity, self-care, and the small luxuries of personal grooming—and it works across the tonal range from bold fuchsia packaging to soft blush product photography. Gender-neutral beauty brands increasingly use specific pink tones (dusty rose, millennial pink) to retain warmth while avoiding overtly gendered associations.
  • Food & Confectionery: Pink signals sweetness, freshness, and delight in food contexts. Dessert brands, bakeries, and confectioneries use it to trigger sweet-taste associations and create an atmosphere of celebratory indulgence. Particularly effective for Valentine's Day, birthday, and celebration-focused food products.
  • Fashion & Lifestyle: Fashion's relationship with pink is dynamic—it cycles between softness and statement power depending on cultural moment. Currently, fashion uses pink most boldly as a color of confidence, irony, and self-aware femininity. Bold fuchsia and hot pink are more culturally resonant in fashion right now than blush; the trend trajectory matters as much as the hue.
  • Brand positioning: Magenta is best suited for brands projecting joy, playfulness, warmth. Categories outside this positioning—industries requiring seriousness or authority (finance—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Magenta works effectively in beauty packaging, confectionery and dessert brands, celebratory occasions—contexts where optimism serves a secondary but reinforcing role.

The industries where Magenta performs best are those where the audience expects optimism. Build brand strategy around this alignment, not against it.

Frequently Asked Questions

What is the hex code for Magenta?
The hex code for Magenta is #FF00FF. Its RGB values are rgb(255, 0, 255) and its HSL values are hsl(300, 100%, 50%).
What does Magenta mean in design?
Magenta is the color printers use as a primary, which gives it an association with technical precision. But in fashion and branding, magenta feels like the most vibrant of all pinks — intense, creative, and uniquely artificial. Magenta means no compromise.
Is Magenta WCAG accessible?
Magenta (#FF00FF) passes WCAG AA-large on white with a 3.14:1 contrast ratio. Its overall accessibility score is 31/100.
What colors go well with Magenta?
Magenta pairs well with its complementary color Green (#008000). Analogous colors like Amethyst and Electric Purple also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Magenta used for?
Magenta is commonly used for: Beauty, cosmetics, and personal care; Baby products and nursery design; Romantic occasions and greeting cards; Confectionery and dessert brands; Fashion and lifestyle brands targeting millennial audiences.
What are the CSS and Tailwind values for Magenta?
In CSS, use `color: #FF00FF` or `background-color: #FF00FF`. The CSS custom property is `--color-magenta: #FF00FF`. In Tailwind CSS, use the arbitrary value class `bg-[#FF00FF]` for backgrounds or `text-[#FF00FF]` for text.