What is hex #B2004D color?

 
The hex code #B2004D is closest to the named color Crimson Glory (#BE0032).
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 30% blue, resulting in rgb(178, 0, 77) and hsl(334, 100%, 35%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 57%, 30%).
In the HSV/HSB scale, #B2004D features a hue of 334°, 100% saturation, and 70% brightness.

Hex #B2004D Color Codes & Conversions

Closest Named Color
Crimson Glory (#BE0032)
Hex Code #B2004D
Hex8 (RGBA Hex) #B2004DFF
RGB (CSS) rgb(178, 0, 77)
RGBA (CSS) rgba(178, 0, 77, 1)
HSL (CSS) hsl(334, 100%, 35%)
HSLA (CSS) hsla(334, 100%, 35%, 1)
HSV / HSB (334°, 100%, 70%)
CMYK Values (0%, 100%, 57%, 30%)
OKLCH (Modern CSS) oklch(49.0% 0.196 7.0)
CIE-LAB (D65) 37.85, 63.80, 9.38
CIE XYZ 19.70, 10.00, 7.91
Decimal / Binary 11665485
10110010 00000000 01001101

Closest Standards & Equivalents

Closest Web Safe
#990066
Inverse Color
#4DFFB2
Complementary Color
#00B265
Closest Pantone®
Pantone 220 C
Closest RAL
RAL 3027 [Raspberry red]

#B2004D Grayscale Equivalents

Average
#555555 [Davy Grey]
Lightness (Desaturation)
#595959
Weighted (BT601)
#3E3E3E
Luma (BT709)
#2B2B2B

WCAG 2.1 Color Contrast & Accessibility

Check how #B2004D 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 #B2004D

Sample preview of readable typography on top of #B2004D.

Contrast Ratio: 7:1
AA Pass AAA Pass

Black Text on #B2004D

Sample preview of readable typography on top of #B2004D.

Contrast Ratio: 3:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #B2004D

Preview #B2004D in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #B2004D;
Typography Color Preview
color: #B2004D;
Border & Shadow Preview
border: 2px solid #B2004D;
CSS Custom Properties & Gradient
:root {
  --color-primary: #B2004D;
  --color-primary-rgb: 178, 0, 77;
  --color-complementary: #00B265;
}
.btn-accent {
  background-color: #B2004D;
  color: #ffffff;
}

Hex #B2004D Color Palettes

Complementary Palette

The complementary color of #B2004D is #00B265. 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 #B2004D pairs with #B200A6 and #B20C00, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #B2004D pairs with #00A6B2 and #00B20C, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #B2004D uses #004DB2 and #4DB200, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #B2004D combines #4DB200, #00B265 and #6500B2 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #B2004D pairs with #A6B200, #00B265 and #0C00B2 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #B2004D

Tints

Tints are created by mixing #B2004D with white, producing lighter variations.

Tones

Tones are created by mixing #B2004D with gray, softening saturation.

Shades

Shades result from mixing #B2004D with black, creating deeper variations.

Hex #B2004D in Programming & CSS Frameworks

Copy the exact syntax for #B2004D in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #B2004D
Tailwind CSS bg-[#B2004D] text-[#B2004D]
Java (AWT) new Color(178,0,77);
Python Color("#B2004D")
.NET (C#) Color.FromArgb(255, 178,0,77);
Swift / iOS UIColor(red: 0.7, green: 0, blue: 0.3, alpha: 1)
Kotlin / Android Color.rgb(178, 0, 77)