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