What is hex #FF0CDC 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 86% blue, resulting in rgb(255, 12, 220) and hsl(309, 100%, 52%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 95%, 14%, 0%).
In the HSV/HSB scale, #FF0CDC features a hue of 309°, 95% saturation, and 100% brightness.
Hex #FF0CDC Color Codes & Conversions
| Closest Named Color | Magenta (#FF00FF) |
| Hex Code | #FF0CDC |
| Hex8 (RGBA Hex) | #FF0CDCFF |
| RGB (CSS) | rgb(255, 12, 220) |
| RGBA (CSS) | rgba(255, 12, 220, 1) |
| HSL (CSS) | hsl(309, 100%, 52%) |
| HSLA (CSS) | hsla(309, 100%, 52%, 1) |
| HSV / HSB | (309°, 95%, 100%) |
| CMYK Values | (0%, 95%, 14%, 0%) |
| OKLCH (Modern CSS) | oklch(68.4% 0.299 336.4) |
| CIE-LAB (D65) | 58.69, 92.91, -43.83 |
| CIE XYZ | 54.29, 26.70, 69.99 |
| Decimal / Binary |
16714972
11111111 00001100 11011100 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FF0CDC 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 #FF0CDC
Sample preview of readable typography on top of #FF0CDC.
Black Text on #FF0CDC
Sample preview of readable typography on top of #FF0CDC.
HTML / CSS Live Previews & Snippets for #FF0CDC
Preview #FF0CDC in real UI elements and copy ready-to-use CSS rules.
background-color: #FF0CDC;
color: #FF0CDC;
border: 2px solid #FF0CDC;
:root {
--color-primary: #FF0CDC;
--color-primary-rgb: 255, 12, 220;
--color-complementary: #0CFF2F;
}
.btn-accent {
background-color: #FF0CDC;
color: #000000;
}
Hex #FF0CDC Color Palettes
Complementary Palette
The complementary color of #FF0CDC is #0CFF2F. 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 #FF0CDC pairs with #A80CFF and #FF0C62, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FF0CDC pairs with #0CFFA8 and #62FF0C, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FF0CDC uses #0CDCFF and #DCFF0C, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FF0CDC combines #DCFF0C, #0CFF2F and #2F0CFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FF0CDC pairs with #FFA80C, #0CFF2F and #0C62FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FF0CDC
Tints
Tints are created by mixing #FF0CDC with white, producing lighter variations.
Tones
Tones are created by mixing #FF0CDC with gray, softening saturation.
Shades
Shades result from mixing #FF0CDC with black, creating deeper variations.
Hex #FF0CDC in Programming & CSS Frameworks
Copy the exact syntax for #FF0CDC in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FF0CDC |
| Tailwind CSS | bg-[#FF0CDC] text-[#FF0CDC] |
| Java (AWT) | new Color(255,12,220); |
| Python | Color("#FF0CDC") |
| .NET (C#) | Color.FromArgb(255, 255,12,220); |
| Swift / iOS | UIColor(red: 1, green: 0.05, blue: 0.86, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 12, 220) |