What is hex #B400A0 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 71% red, 0% green and 63% blue, resulting in rgb(180, 0, 160) and hsl(307, 100%, 35%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 11%, 29%).
In the HSV/HSB scale, #B400A0 features a hue of 307°, 100% saturation, and 71% brightness.
Hex #B400A0 Color Codes & Conversions
| Closest Named Color | Medium Violet Red (#C71585) |
| Hex Code | #B400A0 |
| Hex8 (RGBA Hex) | #B400A0FF |
| RGB (CSS) | rgb(180, 0, 160) |
| RGBA (CSS) | rgba(180, 0, 160, 1) |
| HSL (CSS) | hsl(307, 100%, 35%) |
| HSLA (CSS) | hsla(307, 100%, 35%, 1) |
| HSV / HSB | (307°, 100%, 71%) |
| CMYK Values | (0%, 100%, 11%, 29%) |
| OKLCH (Modern CSS) | oklch(52.8% 0.235 334.6) |
| CIE-LAB (D65) | 41.60, 72.79, -36.76 |
| CIE XYZ | 25.17, 12.24, 34.29 |
| Decimal / Binary |
11796640
10110100 00000000 10100000 |
WCAG 2.1 Color Contrast & Accessibility
Check how #B400A0 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 #B400A0
Sample preview of readable typography on top of #B400A0.
Black Text on #B400A0
Sample preview of readable typography on top of #B400A0.
HTML / CSS Live Previews & Snippets for #B400A0
Preview #B400A0 in real UI elements and copy ready-to-use CSS rules.
background-color: #B400A0;
color: #B400A0;
border: 2px solid #B400A0;
:root {
--color-primary: #B400A0;
--color-primary-rgb: 180, 0, 160;
--color-complementary: #00B414;
}
.btn-accent {
background-color: #B400A0;
color: #ffffff;
}
Hex #B400A0 Color Palettes
Complementary Palette
The complementary color of #B400A0 is #00B414. 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 #B400A0 pairs with #6E00B4 and #B40046, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #B400A0 pairs with #00B46E and #46B400, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #B400A0 uses #00A0B4 and #A0B400, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #B400A0 combines #A0B400, #00B414 and #1400B4 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #B400A0 pairs with #B46E00, #00B414 and #0046B4 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #B400A0
Tints
Tints are created by mixing #B400A0 with white, producing lighter variations.
Tones
Tones are created by mixing #B400A0 with gray, softening saturation.
Shades
Shades result from mixing #B400A0 with black, creating deeper variations.
Hex #B400A0 in Programming & CSS Frameworks
Copy the exact syntax for #B400A0 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #B400A0 |
| Tailwind CSS | bg-[#B400A0] text-[#B400A0] |
| Java (AWT) | new Color(180,0,160); |
| Python | Color("#B400A0") |
| .NET (C#) | Color.FromArgb(255, 180,0,160); |
| Swift / iOS | UIColor(red: 0.71, green: 0, blue: 0.63, alpha: 1) |
| Kotlin / Android | Color.rgb(180, 0, 160) |