What is hex #FF02FB 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, 1% green and 98% blue, resulting in rgb(255, 2, 251) and hsl(301, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 99%, 2%, 0%).
In the HSV/HSB scale, #FF02FB features a hue of 301°, 99% saturation, and 100% brightness.
Hex #FF02FB Color Codes & Conversions
| Closest Named Color | Magenta (#FF00FF) |
| Hex Code | #FF02FB |
| Hex8 (RGBA Hex) | #FF02FBFF |
| RGB (CSS) | rgb(255, 2, 251) |
| RGBA (CSS) | rgba(255, 2, 251, 1) |
| HSL (CSS) | hsl(301, 100%, 50%) |
| HSLA (CSS) | hsla(301, 100%, 50%, 1) |
| HSV / HSB | (301°, 99%, 100%) |
| CMYK Values | (0%, 99%, 2%, 0%) |
| OKLCH (Modern CSS) | oklch(70.0% 0.320 329.2) |
| CIE-LAB (D65) | 60.13, 97.57, -58.91 |
| CIE XYZ | 58.67, 28.27, 93.62 |
| Decimal / Binary |
16712443
11111111 00000010 11111011 |
Closest Standards & Equivalents
| Closest Web Safe | #FF00FF [Magenta] |
| Inverse Color | #00FD04 |
| Complementary Color | #02FF06 |
| Closest Pantone® | Pantone 807 C |
| Closest RAL | RAL 3024 [Luminous red] |
#FF02FB Grayscale Equivalents
| Average | #A9A9A9 [Dark Medium Gray] |
| Lightness (Desaturation) | #818181 |
| Weighted (BT601) | #6A6A6A |
| Luma (BT709) | #4A4A4A |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF02FB 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 #FF02FB
Sample preview of readable typography on top of #FF02FB.
Black Text on #FF02FB
Sample preview of readable typography on top of #FF02FB.
HTML / CSS Live Previews & Snippets for #FF02FB
Preview #FF02FB in real UI elements and copy ready-to-use CSS rules.
background-color: #FF02FB;
color: #FF02FB;
border: 2px solid #FF02FB;
:root {
--color-primary: #FF02FB;
--color-primary-rgb: 255, 2, 251;
--color-complementary: #02FF06;
}
.btn-accent {
background-color: #FF02FB;
color: #000000;
}
Hex #FF02FB Color Palettes
Complementary Palette
The complementary color of #FF02FB is #02FF06. 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 #FF02FB pairs with #8402FF and #FF027C, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF02FB pairs with #02FF84 and #7CFF02, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF02FB uses #02FBFF and #FBFF02, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF02FB combines #FBFF02, #02FF05 and #0502FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF02FB pairs with #FF8402, #02FF05 and #027CFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF02FB
Tints
Tints are created by mixing #FF02FB with white, producing lighter variations.
Tones
Tones are created by mixing #FF02FB with gray, softening saturation.
Shades
Shades result from mixing #FF02FB with black, creating deeper variations.
Hex #FF02FB in Programming & CSS Frameworks
Copy the exact syntax for #FF02FB in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF02FB |
| Tailwind CSS | bg-[#FF02FB] text-[#FF02FB] |
| Java (AWT) | new Color(255,2,251); |
| Python | Color("#FF02FB") |
| .NET (C#) | Color.FromArgb(255, 255,2,251); |
| Swift / iOS | UIColor(red: 1, green: 0.01, blue: 0.98, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 2, 251) |