What is hex #FF12FF color?

 
The hex code #FF12FF 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, 7% green and 100% blue, resulting in rgb(255, 18, 255) and hsl(300, 100%, 54%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 93%, 0%, 0%).
In the HSV/HSB scale, #FF12FF features a hue of 300°, 93% saturation, and 100% brightness.

Hex #FF12FF Color Codes & Conversions

Closest Named Color
Magenta (#FF00FF)
Hex Code #FF12FF
Hex8 (RGBA Hex) #FF12FFFF
RGB (CSS) rgb(255, 18, 255)
RGBA (CSS) rgba(255, 18, 255, 1)
HSL (CSS) hsl(300, 100%, 54%)
HSLA (CSS) hsla(300, 100%, 54%, 1)
HSV / HSB (300°, 93%, 100%)
CMYK Values (0%, 93%, 0%, 0%)
OKLCH (Modern CSS) oklch(70.4% 0.319 328.3)
CIE-LAB (D65) 60.71, 97.10, -60.21
CIE XYZ 59.51, 28.92, 97.04
Decimal / Binary 16716543
11111111 00010010 11111111

Closest Standards & Equivalents

Closest Web Safe
#FF00FF [Magenta]
Inverse Color
#00ED00
Complementary Color
#12FF12
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 3024 [Luminous red]

#FF12FF Grayscale Equivalents

Average
#B0B0B0
Lightness (Desaturation)
#898989
Weighted (BT601)
#747474
Luma (BT709)
#555555 [Davy Grey]

WCAG 2.1 Color Contrast & Accessibility

Check how #FF12FF 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 #FF12FF

Sample preview of readable typography on top of #FF12FF.

Contrast Ratio: 3.1:1
AA Fail AAA Fail

Black Text on #FF12FF

Sample preview of readable typography on top of #FF12FF.

Contrast Ratio: 6.78:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #FF12FF

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

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

Hex #FF12FF Color Palettes

Complementary Palette

The complementary color of #FF12FF is #12FF12. 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 #FF12FF pairs with #8812FF and #FF1288, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF12FF pairs with #12FF88 and #88FF12, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF12FF uses #12FFFF and #FFFF12, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF12FF combines #FFFF12, #12FF12 and #1212FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF12FF pairs with #FF8812, #12FF12 and #1288FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF12FF

Tints

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

Tones

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

Shades

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

Hex #FF12FF in Programming & CSS Frameworks

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

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