What is hex #FF047F 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, 2% green and 50% blue, resulting in rgb(255, 4, 127) and hsl(331, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 98%, 50%, 0%).
In the HSV/HSB scale, #FF047F features a hue of 331°, 98% saturation, and 100% brightness.
Hex #FF047F Color Codes & Conversions
| Closest Named Color | Bright Pink (#FF007F) |
| Hex Code | #FF047F |
| Hex8 (RGBA Hex) | #FF047FFF |
| RGB (CSS) | rgb(255, 4, 127) |
| RGBA (CSS) | rgba(255, 4, 127, 1) |
| HSL (CSS) | hsl(331, 100%, 51%) |
| HSLA (CSS) | hsla(331, 100%, 51%, 1) |
| HSV / HSB | (331°, 98%, 100%) |
| CMYK Values | (0%, 98%, 50%, 0%) |
| OKLCH (Modern CSS) | oklch(64.6% 0.259 2.9) |
| CIE-LAB (D65) | 54.95, 84.20, 4.77 |
| CIE XYZ | 45.12, 22.89, 22.12 |
| Decimal / Binary |
16712831
11111111 00000100 01111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF047F 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 #FF047F
Sample preview of readable typography on top of #FF047F.
Black Text on #FF047F
Sample preview of readable typography on top of #FF047F.
HTML / CSS Live Previews & Snippets for #FF047F
Preview #FF047F in real UI elements and copy ready-to-use CSS rules.
background-color: #FF047F;
color: #FF047F;
border: 2px solid #FF047F;
:root {
--color-primary: #FF047F;
--color-primary-rgb: 255, 4, 127;
--color-complementary: #04FF84;
}
.btn-accent {
background-color: #FF047F;
color: #000000;
}
Hex #FF047F Color Palettes
Complementary Palette
The complementary color of #FF047F is #04FF84. 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 #FF047F pairs with #FF04FC and #FF0604, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF047F pairs with #04FCFF and #04FF06, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF047F uses #047FFF and #7FFF04, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF047F combines #7FFF04, #04FF84 and #8404FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF047F pairs with #FCFF04, #04FF84 and #0604FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF047F
Tints
Tints are created by mixing #FF047F with white, producing lighter variations.
Tones
Tones are created by mixing #FF047F with gray, softening saturation.
Shades
Shades result from mixing #FF047F with black, creating deeper variations.
Hex #FF047F in Programming & CSS Frameworks
Copy the exact syntax for #FF047F in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF047F |
| Tailwind CSS | bg-[#FF047F] text-[#FF047F] |
| Java (AWT) | new Color(255,4,127); |
| Python | Color("#FF047F") |
| .NET (C#) | Color.FromArgb(255, 255,4,127); |
| Swift / iOS | UIColor(red: 1, green: 0.02, blue: 0.5, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 4, 127) |