#B224AB Color Information

Hex color code: #B224AB

#B224AB is a balanced magenta color. In RGB it is (178, 36, 171), and in HSL it is (303°, 66%, 42%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#B224AB
RGB
178, 36, 171
HSL
303°, 66%, 42%
CMYK
0%, 80%, 4%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #B224AB; 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 #B224AB; background-color: #B224AB15; }

Alert / Toast

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

Link / Accent

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

a { color: #B224AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 36, 171

Red: 178 / Green: 36 / Blue: 171

HSL

303°, 66%, 42%

Hue: 303° / Saturation: 66% / Lightness: 42%

CMYK

0%, 80%, 4%, 30%

Cyan: 0% / Magenta: 80% / Yellow: 4% / Key: 30%

What color is #B224AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B224AB to RGB:

rgb(178, 36, 171)HEX to RGB Converter →

HEX to HSL

Convert #B224AB to HSL:

hsl(303, 66%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #B224AB to CMYK:

cmyk(0%, 80%, 4%, 30%)Color Converter →

Color Meaning and Usage

#B224AB is a understated magenta color with RGB values of 178, 36, 171 and HSL of 303°, 66%, 42%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B224AB is #24B22B, creating high-contrast pairings. For softer combinations, try analogous colors like #7224B2.

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

Contrast with #B224AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B224AB?

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

What is the RGB value of #B224AB?

#B224AB in RGB is (178, 36, 171) - 178 red, 36 green, and 171 blue.

How to use #B224AB in CSS?

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

What colors go well with #B224AB?

#24B22B (complementary), #7224B2 (analogous), and #72176E (lighter shade) work well with #B224AB.