What is hex #FF040A 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 4% blue, resulting in rgb(255, 4, 10) and hsl(359, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 98%, 96%, 0%).
In the HSV/HSB scale, #FF040A features a hue of 359°, 98% saturation, and 100% brightness.
Hex #FF040A Color Codes & Conversions
| Closest Named Color | Candy Apple Red (#FF0800) |
| Hex Code | #FF040A |
| Hex8 (RGBA Hex) | #FF040AFF |
| RGB (CSS) | rgb(255, 4, 10) |
| RGBA (CSS) | rgba(255, 4, 10, 1) |
| HSL (CSS) | hsl(359, 100%, 51%) |
| HSLA (CSS) | hsla(359, 100%, 51%, 1) |
| HSV / HSB | (359°, 98%, 100%) |
| CMYK Values | (0%, 98%, 96%, 0%) |
| OKLCH (Modern CSS) | oklch(62.9% 0.257 28.8) |
| CIE-LAB (D65) | 53.36, 79.88, 64.81 |
| CIE XYZ | 41.34, 21.38, 2.24 |
| Decimal / Binary |
16712714
11111111 00000100 00001010 |
Closest Standards & Equivalents
| Closest Web Safe | #FF0000 [Red] |
| Inverse Color | #00FBF5 |
| Complementary Color | #04FFF9 |
| Closest Pantone® | Pantone 185 C |
| Closest RAL | RAL 3026 [Luminous bright red] |
#FF040A Grayscale Equivalents
| Average | #5A5A5A |
| Lightness (Desaturation) | #828282 |
| Weighted (BT601) | #505050 |
| Luma (BT709) | #3A3A3A |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF040A 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 #FF040A
Sample preview of readable typography on top of #FF040A.
Black Text on #FF040A
Sample preview of readable typography on top of #FF040A.
HTML / CSS Live Previews & Snippets for #FF040A
Preview #FF040A in real UI elements and copy ready-to-use CSS rules.
background-color: #FF040A;
color: #FF040A;
border: 2px solid #FF040A;
:root {
--color-primary: #FF040A;
--color-primary-rgb: 255, 4, 10;
--color-complementary: #04FFF9;
}
.btn-accent {
background-color: #FF040A;
color: #000000;
}
Hex #FF040A Color Palettes
Complementary Palette
The complementary color of #FF040A is #04FFF9. 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 #FF040A pairs with #FF0487 and #FF7B04, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF040A pairs with #0487FF and #04FF7B, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF040A uses #0409FF and #09FF04, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF040A combines #09FF04, #04FFF9 and #F904FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF040A pairs with #87FF04, #04FFF9 and #7B04FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF040A
Tints
Tints are created by mixing #FF040A with white, producing lighter variations.
Tones
Tones are created by mixing #FF040A with gray, softening saturation.
Shades
Shades result from mixing #FF040A with black, creating deeper variations.
Hex #FF040A in Programming & CSS Frameworks
Copy the exact syntax for #FF040A in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF040A |
| Tailwind CSS | bg-[#FF040A] text-[#FF040A] |
| Java (AWT) | new Color(255,4,10); |
| Python | Color("#FF040A") |
| .NET (C#) | Color.FromArgb(255, 255,4,10); |
| Swift / iOS | UIColor(red: 1, green: 0.02, blue: 0.04, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 4, 10) |