What is hex #FF18FF color?

 
The hex code #FF18FF is closest to the named color Magenta (#FF00FF).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 100% red, 9% green and 100% blue, resulting in rgb(255, 24, 255) and hsl(300, 100%, 55%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 91%, 0%, 0%).
In the HSV/HSB scale, #FF18FF features a hue of 300°, 91% saturation, and 100% brightness.

Hex #FF18FF Color Codes & Conversions

Closest Named Color
Magenta (#FF00FF)
Hex Code #FF18FF
Hex8 (RGBA Hex) #FF18FFFF
RGB (CSS) rgb(255, 24, 255)
RGBA (CSS) rgba(255, 24, 255, 1)
HSL (CSS) hsl(300, 100%, 55%)
HSLA (CSS) hsla(300, 100%, 55%, 1)
HSV / HSB (300°, 91%, 100%)
CMYK Values (0%, 91%, 0%, 0%)
OKLCH (Modern CSS) oklch(70.6% 0.317 328.3)
CIE-LAB (D65) 60.90, 96.52, -59.90
CIE XYZ 59.62, 29.14, 97.07
Decimal / Binary 16718079
11111111 00011000 11111111

Closest Standards & Equivalents

Closest Web Safe
#FF00FF [Magenta]
Inverse Color
#00E700
Complementary Color
#18FF18
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 3024 [Luminous red]

#FF18FF Grayscale Equivalents

Average
#B2B2B2
Lightness (Desaturation)
#8C8C8C
Weighted (BT601)
#777777
Luma (BT709)
#5A5A5A

WCAG 2.1 Color Contrast & Accessibility

Check how #FF18FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #FF18FF

Sample preview of readable typography on top of #FF18FF.

Contrast Ratio: 3.08:1
AA Fail AAA Fail

Black Text on #FF18FF

Sample preview of readable typography on top of #FF18FF.

Contrast Ratio: 6.83:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #FF18FF

Preview #FF18FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FF18FF;
Typography Color Preview
color: #FF18FF;
Border & Shadow Preview
border: 2px solid #FF18FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FF18FF;
  --color-primary-rgb: 255, 24, 255;
  --color-complementary: #18FF18;
}
.btn-accent {
  background-color: #FF18FF;
  color: #000000;
}

Hex #FF18FF Color Palettes

Complementary Palette

The complementary color of #FF18FF is #18FF18. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #FF18FF pairs with #8B18FF and #FF188B, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF18FF pairs with #18FF8B and #8BFF18, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF18FF uses #18FFFF and #FFFF18, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF18FF combines #FFFF18, #18FF18 and #1818FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF18FF pairs with #FF8B18, #18FF18 and #188BFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF18FF

Tints

Tints are created by mixing #FF18FF with white, producing lighter variations.

Tones

Tones are created by mixing #FF18FF with gray, softening saturation.

Shades

Shades result from mixing #FF18FF with black, creating deeper variations.

Hex #FF18FF in Programming & CSS Frameworks

Copy the exact syntax for #FF18FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FF18FF
Tailwind CSS bg-[#FF18FF] text-[#FF18FF]
Java (AWT) new Color(255,24,255);
Python Color("#FF18FF")
.NET (C#) Color.FromArgb(255, 255,24,255);
Swift / iOS UIColor(red: 1, green: 0.09, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(255, 24, 255)