#B22A99 Color Information

Hex color code: #B22A99

#B22A99 is a muted magenta color. In RGB it is (178, 42, 153), and in HSL it is (311°, 62%, 43%). It is typically applied in digital products.

Try:
Color NameViolet Red
HEX
#B22A99
RGB
178, 42, 153
HSL
311°, 62%, 43%
CMYK
0%, 76%, 14%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B22A99; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 42, 153

Red: 178 / Green: 42 / Blue: 153

HSL

311°, 62%, 43%

Hue: 311° / Saturation: 62% / Lightness: 43%

CMYK

0%, 76%, 14%, 30%

Cyan: 0% / Magenta: 76% / Yellow: 14% / Key: 30%

What color is #B22A99?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B22A99 to RGB:

rgb(178, 42, 153)HEX to RGB Converter →

HEX to HSL

Convert #B22A99 to HSL:

hsl(311, 62%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #B22A99 to CMYK:

cmyk(0%, 76%, 14%, 30%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #B22A99 has RGB (178, 42, 153) and HSL (311°, 62%, 43%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B22A99 is #2AB243, creating high-contrast pairings. For softer combinations, try analogous colors like #872AB2.

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

Contrast with #B22A99

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B22A99?

#B22A99 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B22A99?

#B22A99 in RGB is (178, 42, 153) - 178 red, 42 green, and 153 blue.

How to use #B22A99 in CSS?

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

What colors go well with #B22A99?

#2AB243 (complementary), #872AB2 (analogous), and #741B63 (lighter shade) work well with #B22A99.