What is hex #B2004B 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 70% red, 0% green and 29% blue, resulting in rgb(178, 0, 75) and hsl(335, 100%, 35%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 58%, 30%).
In the HSV/HSB scale, #B2004B features a hue of 335°, 100% saturation, and 70% brightness.
Hex #B2004B Color Codes & Conversions
| Closest Named Color | Crimson Glory (#BE0032) |
| Hex Code | #B2004B |
| Hex8 (RGBA Hex) | #B2004BFF |
| RGB (CSS) | rgb(178, 0, 75) |
| RGBA (CSS) | rgba(178, 0, 75, 1) |
| HSL (CSS) | hsl(335, 100%, 35%) |
| HSLA (CSS) | hsla(335, 100%, 35%, 1) |
| HSV / HSB | (335°, 100%, 70%) |
| CMYK Values | (0%, 100%, 58%, 30%) |
| OKLCH (Modern CSS) | oklch(48.9% 0.196 7.9) |
| CIE-LAB (D65) | 37.80, 63.67, 10.60 |
| CIE XYZ | 19.63, 9.98, 7.55 |
| Decimal / Binary |
11665483
10110010 00000000 01001011 |
WCAG 2.1 Color Contrast & Accessibility
Check how #B2004B 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 #B2004B
Sample preview of readable typography on top of #B2004B.
Black Text on #B2004B
Sample preview of readable typography on top of #B2004B.
HTML / CSS Live Previews & Snippets for #B2004B
Preview #B2004B in real UI elements and copy ready-to-use CSS rules.
background-color: #B2004B;
color: #B2004B;
border: 2px solid #B2004B;
:root {
--color-primary: #B2004B;
--color-primary-rgb: 178, 0, 75;
--color-complementary: #00B267;
}
.btn-accent {
background-color: #B2004B;
color: #ffffff;
}
Hex #B2004B Color Palettes
Complementary Palette
The complementary color of #B2004B is #00B267. 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 #B2004B pairs with #B200A4 and #B20E00, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #B2004B pairs with #00A4B2 and #00B20E, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #B2004B uses #004BB2 and #4BB200, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #B2004B combines #4BB200, #00B267 and #6700B2 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #B2004B pairs with #A4B200, #00B267 and #0E00B2 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #B2004B
Tints
Tints are created by mixing #B2004B with white, producing lighter variations.
Tones
Tones are created by mixing #B2004B with gray, softening saturation.
Shades
Shades result from mixing #B2004B with black, creating deeper variations.
Hex #B2004B in Programming & CSS Frameworks
Copy the exact syntax for #B2004B in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #B2004B |
| Tailwind CSS | bg-[#B2004B] text-[#B2004B] |
| Java (AWT) | new Color(178,0,75); |
| Python | Color("#B2004B") |
| .NET (C#) | Color.FromArgb(255, 178,0,75); |
| Swift / iOS | UIColor(red: 0.7, green: 0, blue: 0.29, alpha: 1) |
| Kotlin / Android | Color.rgb(178, 0, 75) |