What is hex #C400A0 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 63% blue, resulting in rgb(196, 0, 160) and hsl(311, 100%, 38%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 18%, 23%).
In the HSV/HSB scale, #C400A0 features a hue of 311°, 100% saturation, and 77% brightness.
Hex #C400A0 Color Codes & Conversions
| Closest Named Color | Medium Violet Red (#C71585) |
| Hex Code | #C400A0 |
| Hex8 (RGBA Hex) | #C400A0FF |
| RGB (CSS) | rgb(196, 0, 160) |
| RGBA (CSS) | rgba(196, 0, 160, 1) |
| HSL (CSS) | hsl(311, 100%, 38%) |
| HSLA (CSS) | hsla(311, 100%, 38%, 1) |
| HSV / HSB | (311°, 100%, 77%) |
| CMYK Values | (0%, 100%, 18%, 23%) |
| OKLCH (Modern CSS) | oklch(55.5% 0.242 339.1) |
| CIE-LAB (D65) | 44.63, 75.71, -31.78 |
| CIE XYZ | 29.11, 14.28, 34.47 |
| Decimal / Binary |
12845216
11000100 00000000 10100000 |
WCAG 2.1 Color Contrast & Accessibility
Check how #C400A0 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 #C400A0
Sample preview of readable typography on top of #C400A0.
Black Text on #C400A0
Sample preview of readable typography on top of #C400A0.
HTML / CSS Live Previews & Snippets for #C400A0
Preview #C400A0 in real UI elements and copy ready-to-use CSS rules.
background-color: #C400A0;
color: #C400A0;
border: 2px solid #C400A0;
:root {
--color-primary: #C400A0;
--color-primary-rgb: 196, 0, 160;
--color-complementary: #00C424;
}
.btn-accent {
background-color: #C400A0;
color: #ffffff;
}
Hex #C400A0 Color Palettes
Complementary Palette
The complementary color of #C400A0 is #00C424. 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 #C400A0 pairs with #8600C4 and #C4003E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #C400A0 pairs with #00C486 and #3EC400, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #C400A0 uses #00A0C4 and #A0C400, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #C400A0 combines #A0C400, #00C424 and #2400C4 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #C400A0 pairs with #C48600, #00C424 and #003EC4 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #C400A0
Tints
Tints are created by mixing #C400A0 with white, producing lighter variations.
Tones
Tones are created by mixing #C400A0 with gray, softening saturation.
Shades
Shades result from mixing #C400A0 with black, creating deeper variations.
Hex #C400A0 in Programming & CSS Frameworks
Copy the exact syntax for #C400A0 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #C400A0 |
| Tailwind CSS | bg-[#C400A0] text-[#C400A0] |
| Java (AWT) | new Color(196,0,160); |
| Python | Color("#C400A0") |
| .NET (C#) | Color.FromArgb(255, 196,0,160); |
| Swift / iOS | UIColor(red: 0.77, green: 0, blue: 0.63, alpha: 1) |
| Kotlin / Android | Color.rgb(196, 0, 160) |