#B4227C Color Information

Hex color code: #B4227C

#B4227C is a balanced magenta color. In RGB it is (180, 34, 124), and in HSL it is (323°, 68%, 42%). It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#B4227C
RGB
180, 34, 124
HSL
323°, 68%, 42%
CMYK
0%, 81%, 31%, 29%

Shades

CSS Usage
color: #B4227C;
background-color: #B4227C;
border-color: #B4227C;
box-shadow: 0 0 10px #B4227C;
border: 2px solid #B4227C;
Tailwind Usage
bg-[#B4227C]
text-[#B4227C]
border-[#B4227C]
shadow-[0_0_10px_B4227C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #B4227C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #B4227C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #B4227C; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #B4227C; background-color: #B4227C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #B4227C20; border-left: 4px solid #B4227C; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #B4227C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #B4227C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 34, 124

Red: 180 / Green: 34 / Blue: 124

HSL

323°, 68%, 42%

Hue: 323° / Saturation: 68% / Lightness: 42%

CMYK

0%, 81%, 31%, 29%

Cyan: 0% / Magenta: 81% / Yellow: 31% / Key: 29%

What color is #B4227C?

#B4227C is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B4227C to RGB:

rgb(180, 34, 124)HEX to RGB Converter →

HEX to HSL

Convert #B4227C to HSL:

hsl(323, 68%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #B4227C to CMYK:

cmyk(0%, 81%, 31%, 29%)Color Converter →

Color Meaning and Usage

A understated magenta tone, #B4227C has RGB (180, 34, 124) and HSL (323°, 68%, 42%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B4227C is #22B45A, creating high-contrast pairings. For softer combinations, try analogous colors like #A322B4.

Use #B4227C in CSS: color: #B4227C or background-color: #B4227C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #B4227C

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.46:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B4227C?

#B4227C is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B4227C?

#B4227C in RGB is (180, 34, 124) - 180 red, 34 green, and 124 blue.

How to use #B4227C in CSS?

Use #B4227C directly in your CSS properties like color or background-color.

What colors go well with #B4227C?

#22B45A (complementary), #A322B4 (analogous), and #741650 (lighter shade) work well with #B4227C.