What is hex #FF40FC color?
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, 25% green and 99% blue, resulting in rgb(255, 64, 252) and hsl(301, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 75%, 1%, 0%).
In the HSV/HSB scale, #FF40FC features a hue of 301°, 75% saturation, and 100% brightness.
Hex #FF40FC Color Codes & Conversions
| Closest Named Color | Fuchsia Pink (#FF77FF) |
| Hex Code | #FF40FC |
| Hex8 (RGBA Hex) | #FF40FCFF |
| RGB (CSS) | rgb(255, 64, 252) |
| RGBA (CSS) | rgba(255, 64, 252, 1) |
| HSL (CSS) | hsl(301, 100%, 63%) |
| HSLA (CSS) | hsla(301, 100%, 63%, 1) |
| HSV / HSB | (301°, 75%, 100%) |
| CMYK Values | (0%, 75%, 1%, 0%) |
| OKLCH (Modern CSS) | oklch(72.2% 0.291 328.8) |
| CIE-LAB (D65) | 63.31, 88.59, -54.40 |
| CIE XYZ | 60.64, 31.96, 95.05 |
| Decimal / Binary |
16728316
11111111 01000000 11111100 |
Closest Standards & Equivalents
| Closest Web Safe | #FF33FF |
| Inverse Color | #00BF03 |
| Complementary Color | #40FF43 |
| Closest Pantone® | Pantone 806 C |
| Closest RAL | RAL 4003 [Heather violet] |
#FF40FC Grayscale Equivalents
| Average | #BEBEBE |
| Lightness (Desaturation) | #A0A0A0 |
| Weighted (BT601) | #8F8F8F |
| Luma (BT709) | #767676 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF40FC 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 #FF40FC
Sample preview of readable typography on top of #FF40FC.
Black Text on #FF40FC
Sample preview of readable typography on top of #FF40FC.
HTML / CSS Live Previews & Snippets for #FF40FC
Preview #FF40FC in real UI elements and copy ready-to-use CSS rules.
background-color: #FF40FC;
color: #FF40FC;
border: 2px solid #FF40FC;
:root {
--color-primary: #FF40FC;
--color-primary-rgb: 255, 64, 252;
--color-complementary: #40FF43;
}
.btn-accent {
background-color: #FF40FC;
color: #000000;
}
Hex #FF40FC Color Palettes
Complementary Palette
The complementary color of #FF40FC is #40FF43. 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 #FF40FC pairs with #A240FF and #FF409C, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF40FC pairs with #40FFA2 and #9CFF40, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF40FC uses #40FCFF and #FCFF40, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF40FC combines #FCFF40, #40FF43 and #4340FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF40FC pairs with #FFA240, #40FF43 and #409CFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF40FC
Tints
Tints are created by mixing #FF40FC with white, producing lighter variations.
Tones
Tones are created by mixing #FF40FC with gray, softening saturation.
Shades
Shades result from mixing #FF40FC with black, creating deeper variations.
Hex #FF40FC in Programming & CSS Frameworks
Copy the exact syntax for #FF40FC in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF40FC |
| Tailwind CSS | bg-[#FF40FC] text-[#FF40FC] |
| Java (AWT) | new Color(255,64,252); |
| Python | Color("#FF40FC") |
| .NET (C#) | Color.FromArgb(255, 255,64,252); |
| Swift / iOS | UIColor(red: 1, green: 0.25, blue: 0.99, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 64, 252) |