What is hex #AC00A2 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 67% red, 0% green and 64% blue, resulting in rgb(172, 0, 162) and hsl(303, 100%, 34%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 6%, 33%).
In the HSV/HSB scale, #AC00A2 features a hue of 303°, 100% saturation, and 67% brightness.
Hex #AC00A2 Color Codes & Conversions
| Closest Named Color | Dark Magenta (#8B008B) |
| Hex Code | #AC00A2 |
| Hex8 (RGBA Hex) | #AC00A2FF |
| RGB (CSS) | rgb(172, 0, 162) |
| RGBA (CSS) | rgba(172, 0, 162, 1) |
| HSL (CSS) | hsl(303, 100%, 34%) |
| HSLA (CSS) | hsla(303, 100%, 34%, 1) |
| HSV / HSB | (303°, 100%, 67%) |
| CMYK Values | (0%, 100%, 6%, 33%) |
| OKLCH (Modern CSS) | oklch(51.6% 0.233 331.5) |
| CIE-LAB (D65) | 40.22, 71.67, -40.25 |
| CIE XYZ | 23.53, 11.38, 35.13 |
| Decimal / Binary |
11272354
10101100 00000000 10100010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #AC00A2 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 #AC00A2
Sample preview of readable typography on top of #AC00A2.
Black Text on #AC00A2
Sample preview of readable typography on top of #AC00A2.
HTML / CSS Live Previews & Snippets for #AC00A2
Preview #AC00A2 in real UI elements and copy ready-to-use CSS rules.
background-color: #AC00A2;
color: #AC00A2;
border: 2px solid #AC00A2;
:root {
--color-primary: #AC00A2;
--color-primary-rgb: 172, 0, 162;
--color-complementary: #00AC0A;
}
.btn-accent {
background-color: #AC00A2;
color: #ffffff;
}
Hex #AC00A2 Color Palettes
Complementary Palette
The complementary color of #AC00A2 is #00AC0A. 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 #AC00A2 pairs with #6000AC and #AC004C, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #AC00A2 pairs with #00AC60 and #4CAC00, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #AC00A2 uses #00A2AC and #A2AC00, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #AC00A2 combines #A2AC00, #00AC0A and #0A00AC around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #AC00A2 pairs with #AC6000, #00AC0A and #004CAC spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #AC00A2
Tints
Tints are created by mixing #AC00A2 with white, producing lighter variations.
Tones
Tones are created by mixing #AC00A2 with gray, softening saturation.
Shades
Shades result from mixing #AC00A2 with black, creating deeper variations.
Hex #AC00A2 in Programming & CSS Frameworks
Copy the exact syntax for #AC00A2 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #AC00A2 |
| Tailwind CSS | bg-[#AC00A2] text-[#AC00A2] |
| Java (AWT) | new Color(172,0,162); |
| Python | Color("#AC00A2") |
| .NET (C#) | Color.FromArgb(255, 172,0,162); |
| Swift / iOS | UIColor(red: 0.67, green: 0, blue: 0.64, alpha: 1) |
| Kotlin / Android | Color.rgb(172, 0, 162) |