What is hex #C400A3 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 77% red, 0% green and 64% blue, resulting in rgb(196, 0, 163) and hsl(310, 100%, 38%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 17%, 23%).
In the HSV/HSB scale, #C400A3 features a hue of 310°, 100% saturation, and 77% brightness.
Hex #C400A3 Color Codes & Conversions
| Closest Named Color | Medium Violet Red (#C71585) |
| Hex Code | #C400A3 |
| Hex8 (RGBA Hex) | #C400A3FF |
| RGB (CSS) | rgb(196, 0, 163) |
| RGBA (CSS) | rgba(196, 0, 163, 1) |
| HSL (CSS) | hsl(310, 100%, 38%) |
| HSLA (CSS) | hsla(310, 100%, 38%, 1) |
| HSV / HSB | (310°, 100%, 77%) |
| CMYK Values | (0%, 100%, 17%, 23%) |
| OKLCH (Modern CSS) | oklch(55.7% 0.244 338.1) |
| CIE-LAB (D65) | 44.78, 76.09, -33.34 |
| CIE XYZ | 29.38, 14.38, 35.87 |
| Decimal / Binary |
12845219
11000100 00000000 10100011 |
WCAG 2.1 Color Contrast & Accessibility
Check how #C400A3 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 #C400A3
Sample preview of readable typography on top of #C400A3.
Black Text on #C400A3
Sample preview of readable typography on top of #C400A3.
HTML / CSS Live Previews & Snippets for #C400A3
Preview #C400A3 in real UI elements and copy ready-to-use CSS rules.
background-color: #C400A3;
color: #C400A3;
border: 2px solid #C400A3;
:root {
--color-primary: #C400A3;
--color-primary-rgb: 196, 0, 163;
--color-complementary: #00C421;
}
.btn-accent {
background-color: #C400A3;
color: #ffffff;
}
Hex #C400A3 Color Palettes
Complementary Palette
The complementary color of #C400A3 is #00C421. 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 #C400A3 pairs with #8300C4 and #C40041, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #C400A3 pairs with #00C483 and #41C400, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #C400A3 uses #00A3C4 and #A3C400, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #C400A3 combines #A3C400, #00C421 and #2100C4 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #C400A3 pairs with #C48300, #00C421 and #0041C4 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #C400A3
Tints
Tints are created by mixing #C400A3 with white, producing lighter variations.
Tones
Tones are created by mixing #C400A3 with gray, softening saturation.
Shades
Shades result from mixing #C400A3 with black, creating deeper variations.
Hex #C400A3 in Programming & CSS Frameworks
Copy the exact syntax for #C400A3 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #C400A3 |
| Tailwind CSS | bg-[#C400A3] text-[#C400A3] |
| Java (AWT) | new Color(196,0,163); |
| Python | Color("#C400A3") |
| .NET (C#) | Color.FromArgb(255, 196,0,163); |
| Swift / iOS | UIColor(red: 0.77, green: 0, blue: 0.64, alpha: 1) |
| Kotlin / Android | Color.rgb(196, 0, 163) |