What is hex #FF045E 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 37% blue, resulting in rgb(255, 4, 94) and hsl(338, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 98%, 63%, 0%).
In the HSV/HSB scale, #FF045E features a hue of 338°, 98% saturation, and 100% brightness.
Hex #FF045E Color Codes & Conversions
| Closest Named Color | Folly (#FF004F) |
| Hex Code | #FF045E |
| Hex8 (RGBA Hex) | #FF045EFF |
| RGB (CSS) | rgb(255, 4, 94) |
| RGBA (CSS) | rgba(255, 4, 94, 1) |
| HSL (CSS) | hsl(338, 100%, 51%) |
| HSLA (CSS) | hsla(338, 100%, 51%, 1) |
| HSV / HSB | (338°, 98%, 100%) |
| CMYK Values | (0%, 98%, 63%, 0%) |
| OKLCH (Modern CSS) | oklch(63.8% 0.254 13.0) |
| CIE-LAB (D65) | 54.20, 82.17, 23.61 |
| CIE XYZ | 43.31, 22.16, 12.58 |
| Decimal / Binary |
16712798
11111111 00000100 01011110 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF045E 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 #FF045E
Sample preview of readable typography on top of #FF045E.
Black Text on #FF045E
Sample preview of readable typography on top of #FF045E.
HTML / CSS Live Previews & Snippets for #FF045E
Preview #FF045E in real UI elements and copy ready-to-use CSS rules.
background-color: #FF045E;
color: #FF045E;
border: 2px solid #FF045E;
:root {
--color-primary: #FF045E;
--color-primary-rgb: 255, 4, 94;
--color-complementary: #04FFA5;
}
.btn-accent {
background-color: #FF045E;
color: #000000;
}
Hex #FF045E Color Palettes
Complementary Palette
The complementary color of #FF045E is #04FFA5. 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 #FF045E pairs with #FF04DB and #FF2704, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF045E pairs with #04DBFF and #04FF27, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF045E uses #045EFF and #5EFF04, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF045E combines #5EFF04, #04FFA5 and #A504FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF045E pairs with #DBFF04, #04FFA5 and #2704FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF045E
Tints
Tints are created by mixing #FF045E with white, producing lighter variations.
Tones
Tones are created by mixing #FF045E with gray, softening saturation.
Shades
Shades result from mixing #FF045E with black, creating deeper variations.
Hex #FF045E in Programming & CSS Frameworks
Copy the exact syntax for #FF045E in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF045E |
| Tailwind CSS | bg-[#FF045E] text-[#FF045E] |
| Java (AWT) | new Color(255,4,94); |
| Python | Color("#FF045E") |
| .NET (C#) | Color.FromArgb(255, 255,4,94); |
| Swift / iOS | UIColor(red: 1, green: 0.02, blue: 0.37, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 4, 94) |