What is hex #FF407C 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 49% blue, resulting in rgb(255, 64, 124) and hsl(341, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 75%, 51%, 0%).
In the HSV/HSB scale, #FF407C features a hue of 341°, 75% saturation, and 100% brightness.
Hex #FF407C Color Codes & Conversions
| Closest Named Color | Cerise Pink (#EC3B83) |
| Hex Code | #FF407C |
| Hex8 (RGBA Hex) | #FF407CFF |
| RGB (CSS) | rgb(255, 64, 124) |
| RGBA (CSS) | rgba(255, 64, 124, 1) |
| HSL (CSS) | hsl(341, 100%, 63%) |
| HSLA (CSS) | hsla(341, 100%, 63%, 1) |
| HSV / HSB | (341°, 75%, 100%) |
| CMYK Values | (0%, 75%, 51%, 0%) |
| OKLCH (Modern CSS) | oklch(67.1% 0.227 7.5) |
| CIE-LAB (D65) | 58.40, 73.88, 11.46 |
| CIE XYZ | 46.72, 26.39, 21.70 |
| Decimal / Binary |
16728188
11111111 01000000 01111100 |
Closest Standards & Equivalents
| Closest Web Safe | #FF3366 |
| Inverse Color | #00BF83 |
| Complementary Color | #40FFC3 |
| Closest Pantone® | Pantone 191 C |
| Closest RAL | RAL 4010 [Telemagenta] |
#FF407C Grayscale Equivalents
| Average | #949494 |
| Lightness (Desaturation) | #A0A0A0 |
| Weighted (BT601) | #808080 [Grey] |
| Luma (BT709) | #6D6D6D |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF407C 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 #FF407C
Sample preview of readable typography on top of #FF407C.
Black Text on #FF407C
Sample preview of readable typography on top of #FF407C.
HTML / CSS Live Previews & Snippets for #FF407C
Preview #FF407C in real UI elements and copy ready-to-use CSS rules.
background-color: #FF407C;
color: #FF407C;
border: 2px solid #FF407C;
:root {
--color-primary: #FF407C;
--color-primary-rgb: 255, 64, 124;
--color-complementary: #40FFC3;
}
.btn-accent {
background-color: #FF407C;
color: #000000;
}
Hex #FF407C Color Palettes
Complementary Palette
The complementary color of #FF407C is #40FFC3. 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 #FF407C pairs with #FF40DB and #FF6340, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF407C pairs with #40DBFF and #40FF63, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF407C uses #407CFF and #7CFF40, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF407C combines #7CFF40, #40FFC3 and #C340FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF407C pairs with #DBFF40, #40FFC3 and #6340FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF407C
Tints
Tints are created by mixing #FF407C with white, producing lighter variations.
Tones
Tones are created by mixing #FF407C with gray, softening saturation.
Shades
Shades result from mixing #FF407C with black, creating deeper variations.
Hex #FF407C in Programming & CSS Frameworks
Copy the exact syntax for #FF407C in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF407C |
| Tailwind CSS | bg-[#FF407C] text-[#FF407C] |
| Java (AWT) | new Color(255,64,124); |
| Python | Color("#FF407C") |
| .NET (C#) | Color.FromArgb(255, 255,64,124); |
| Swift / iOS | UIColor(red: 1, green: 0.25, blue: 0.49, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 64, 124) |