Pink Color Family

Magenta Color Hex Code, RGB & HSL Values

Browse all Pink Colors

How to use the Magenta color hex code in HTML & CSS?

To style elements with Magenta on a website, use the hex code #FF00FF in your HTML/CSS. Adding background-color: #FF00FF; will render the color. In Tailwind CSS, you can apply this shade dynamically using classes like bg-[#FF00FF] or configuring it as a color variable in your configuration file.

What are the RGB and HSL codes of Magenta?

In the digital sRGB spectrum, the Magenta color code is mapped to RGB values of Red: 255, Green: 0, and Blue: 255. In the HSL system, it registers at hue angle 300°, saturation 100%, and lightness index 50%. It represents a balanced medium tone characterized by a highly vivid, intense, and brilliant shade.

CMYK print profiles for Magenta color

To reproduce the named shade Magenta in print systems, the CMYK ink configuration requires 0% Cyan, 100% Magenta, 0% Yellow, and 0% black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 255
Green Channel 0
Blue Channel 255
Luminance 0.285

Magenta Color Space Conversions

Click to copy format
HEX Color Code #FF00FF
RGB (Red Green Blue) rgb(255, 0, 255)
HSL (Hue Sat Light) hsl(300°, 100%, 50%)
CMYK (Commercial Print) cmyk(0%, 100%, 0%, 0%)
HSV / HSB Values hsv(300°, 100%, 100%)
Decimal Color Code 16711935
CSS Custom Variable --color-hex: #FF00FF;
Tailwind CSS Utility bg-[#FF00FF]
CSS Named Color magenta

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #FF00FF

Small body copy preview

Black Text on Background

Black text readability test with #FF00FF

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for Magenta */
--color-hex: #FF00FF;
--color-rgb: rgb(255, 0, 255);
--color-hsl: hsl(300deg, 100%, 50%);
--color-name: magenta;

Aa Known Color Aliases

Magenta magenta (CSS Identifier) Pure MagentaBright MagentaFuchsiaElectric Magenta

Magenta Color Meaning

Representing the pink color family, Magenta carries the intrinsic characteristics of this organic hue. This color group is physiologically calming — studies in correctional facilities showed that painting cells a specific shade of pink (Baker-Miller Pink) reduced aggressive behavior in inmates within minutes. It combines the energetic power of red with white's purity, creating a color associated with love, tenderness, and care. In Western cultures, pink has strong gender associations with femininity, though globally it carries different meanings — in Japan it represents good health and prosperity. Hot pinks and magentas convey energy and confidence, while pastels suggest sweetness and innocence. Pink is increasingly used across all demographics as brands seek to communicate approachability and emotional warmth.

Emotions & Associations

SweetnessWarmthNurturingRomance

Industries

ConfectioneryBeauty & CosmeticsHealthcare

Adjacent HEX Color Codes

Color Comparisons & Differences

🎨 Cohesive Color Combinations & Palettes

Copied!