What is hex #FF0CD2 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, 5% green and 82% blue, resulting in rgb(255, 12, 210) and hsl(311, 100%, 52%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 95%, 18%, 0%).
In the HSV/HSB scale, #FF0CD2 features a hue of 311°, 95% saturation, and 100% brightness.
Hex #FF0CD2 Color Codes & Conversions
| Closest Named Color | Deep Magenta (#CC00CC) |
| Hex Code | #FF0CD2 |
| Hex8 (RGBA Hex) | #FF0CD2FF |
| RGB (CSS) | rgb(255, 12, 210) |
| RGBA (CSS) | rgba(255, 12, 210, 1) |
| HSL (CSS) | hsl(311, 100%, 52%) |
| HSLA (CSS) | hsla(311, 100%, 52%, 1) |
| HSV / HSB | (311°, 95%, 100%) |
| CMYK Values | (0%, 95%, 18%, 0%) |
| OKLCH (Modern CSS) | oklch(67.9% 0.293 338.9) |
| CIE-LAB (D65) | 58.21, 91.69, -38.91 |
| CIE XYZ | 53.01, 26.18, 63.22 |
| Decimal / Binary |
16714962
11111111 00001100 11010010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF0CD2 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 #FF0CD2
Sample preview of readable typography on top of #FF0CD2.
Black Text on #FF0CD2
Sample preview of readable typography on top of #FF0CD2.
HTML / CSS Live Previews & Snippets for #FF0CD2
Preview #FF0CD2 in real UI elements and copy ready-to-use CSS rules.
background-color: #FF0CD2;
color: #FF0CD2;
border: 2px solid #FF0CD2;
:root {
--color-primary: #FF0CD2;
--color-primary-rgb: 255, 12, 210;
--color-complementary: #0CFF39;
}
.btn-accent {
background-color: #FF0CD2;
color: #000000;
}
Hex #FF0CD2 Color Palettes
Complementary Palette
The complementary color of #FF0CD2 is #0CFF39. 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 #FF0CD2 pairs with #B20CFF and #FF0C58, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF0CD2 pairs with #0CFFB2 and #58FF0C, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF0CD2 uses #0CD2FF and #D2FF0C, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF0CD2 combines #D2FF0C, #0CFF39 and #390CFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF0CD2 pairs with #FFB20C, #0CFF39 and #0C58FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF0CD2
Tints
Tints are created by mixing #FF0CD2 with white, producing lighter variations.
Tones
Tones are created by mixing #FF0CD2 with gray, softening saturation.
Shades
Shades result from mixing #FF0CD2 with black, creating deeper variations.
Hex #FF0CD2 in Programming & CSS Frameworks
Copy the exact syntax for #FF0CD2 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF0CD2 |
| Tailwind CSS | bg-[#FF0CD2] text-[#FF0CD2] |
| Java (AWT) | new Color(255,12,210); |
| Python | Color("#FF0CD2") |
| .NET (C#) | Color.FromArgb(255, 255,12,210); |
| Swift / iOS | UIColor(red: 1, green: 0.05, blue: 0.82, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 12, 210) |