TintShelf
Interface

Magenta Color Code: Hex #FF00FF

The hex code for Magenta is #FF00FF (the CSS keyword magenta). Magenta RGB code: rgb(255, 0, 255). The xkcd color survey gives #C20078 instead, which looks clearly different; both codes are below with their source.

CSS Color 4, meodai color-name-list#FF00FFTop: the code browsers use
xkcd color survey#C20078Below: compare edge to edge

Magenta color codes: each Magenta hex code in every format

HEX#FF00FF
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)
OKLCHoklch(70.2% 0.322 328.4)
LABlab(60.2 93.5 -60.5)
CMYKcmyk(0%, 100%, 0%, 0%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look clearly different
Family
purple
Contrast
3.14:1 with white, 6.70:1 with black
CSS keyword
magenta
Also written
fuchsia
Character
mid-tone, vivid
Readable text on it
black (AA)

Magenta is first recorded as a color name in English in 1860; its other name, fuchsia, comes from the fuchsia flower.

A mid-tone, vivid purple with a warm cast. In code, magenta gives exactly this web value. If you mean the color as people usually picture the name, the survey value #C20078 is closer: it is darker and more muted.

Black text reads best on it; white text works only for large headings. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Orchid, its closest named neighbour, it looks about as light, more vivid and warmer; beside Medium Orchid it looks lighter, more vivid and warmer. It is one of the 16 original HTML 4 color names. All three channels are multiples of 51, so it is in the old 216-color web-safe palette.

Colors that go with Magenta

Complementary: the opposite of Magenta

Open in generator

  • #FF00FFBlack text 6.70:1
  • #00BF4FBlack text 8.57:1
  • #FF9CFFBlack text 11.45:1
  • #00752EWhite text 5.86:1

Analogous

Open in generator

  • #AF81FFBlack text 7.41:1
  • #FF00FFBlack text 6.70:1
  • #FF589DBlack text 7.13:1
  • #FFB9FFBlack text 13.64:1

Triadic

Open in generator

  • #FF00FFBlack text 6.70:1
  • #C49800Black text 7.84:1
  • #00B3C6Black text 8.26:1
  • #FFD4FFBlack text 16.11:1

Monochrome

Open in generator

  • #480048White text 15.34:1
  • #9E009EWhite text 7.12:1
  • #FF00FFBlack text 6.70:1
  • #FF7CFFBlack text 9.58:1
  • #FFB9FFBlack text 13.64:1

With neutrals

Open in generator

  • #FF00FFBlack text 6.70:1
  • #FFD4FFBlack text 16.11:1
  • #220022White text 19.25:1
  • #A974A7Black text 5.74:1

How tints, shades and harmonies are calculated

Preview

Heading on Magenta

Body text on this color, 6.70:1.

Button

Heading in Magenta

Text in this color on white, 3.14:1.

Button

Tints and shades

  1. #FFD4FF
  2. #FFB9FF
  3. #FF9CFF
  4. #FF7CFF
  5. #FF56FF
  6. #FF00FF
  7. #CE00CE
  8. #9E009E
  9. #710071
  10. #480048
  11. #220022

WhiteMagentaBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.