What is hex #FF04FC color?

 
The hex code #FF04FC 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, 2% green and 99% blue, resulting in rgb(255, 4, 252) and hsl(301, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 98%, 1%, 0%).
In the HSV/HSB scale, #FF04FC features a hue of 301°, 98% saturation, and 100% brightness.

Hex #FF04FC Color Codes & Conversions

Closest Named Color
Magenta (#FF00FF)
Hex Code #FF04FC
Hex8 (RGBA Hex) #FF04FCFF
RGB (CSS) rgb(255, 4, 252)
RGBA (CSS) rgba(255, 4, 252, 1)
HSL (CSS) hsl(301, 100%, 51%)
HSLA (CSS) hsla(301, 100%, 51%, 1)
HSV / HSB (301°, 98%, 100%)
CMYK Values (0%, 98%, 1%, 0%)
OKLCH (Modern CSS) oklch(70.0% 0.320 329.0)
CIE-LAB (D65) 60.23, 97.59, -59.31
CIE XYZ 58.85, 28.38, 94.45
Decimal / Binary 16712956
11111111 00000100 11111100

Closest Standards & Equivalents

Closest Web Safe
#FF00FF [Magenta]
Inverse Color
#00FB03
Complementary Color
#04FF07
Closest Pantone®
Pantone 807 C
Closest RAL
RAL 3024 [Luminous red]

#FF04FC Grayscale Equivalents

Average
#AAAAAA
Lightness (Desaturation)
#828282
Weighted (BT601)
#6B6B6B
Luma (BT709)
#4B4B4B

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FF04FC.

Contrast Ratio: 3.15:1
AA Fail AAA Fail

Black Text on #FF04FC

Sample preview of readable typography on top of #FF04FC.

Contrast Ratio: 6.68:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #FF04FC

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

Background Preview
background-color: #FF04FC;
Typography Color Preview
color: #FF04FC;
Border & Shadow Preview
border: 2px solid #FF04FC;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FF04FC;
  --color-primary-rgb: 255, 4, 252;
  --color-complementary: #04FF07;
}
.btn-accent {
  background-color: #FF04FC;
  color: #000000;
}

Hex #FF04FC Color Palettes

Complementary Palette

The complementary color of #FF04FC is #04FF07. 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 #FF04FC pairs with #8404FF and #FF047E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF04FC pairs with #04FF84 and #7EFF04, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF04FC uses #04FCFF and #FCFF04, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF04FC combines #FCFF04, #04FF07 and #0704FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF04FC pairs with #FF8404, #04FF07 and #047EFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF04FC

Tints

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

Tones

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

Shades

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

Hex #FF04FC in Programming & CSS Frameworks

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

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