#B291A7 Color Information

Hex color code: #B291A7

A understated magenta shade, #B291A7 appears as (178, 145, 167) in RGB and (320°, 18%, 63%) in HSL. It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#B291A7
RGB
178, 145, 167
HSL
320°, 18%, 63%
CMYK
0%, 19%, 6%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #B291A7; color: #000000; }

Badge

New Feature
.badge { background-color: #B291A7; color: #000000; }

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 #B291A7; background-color: #B291A715; }

Alert / Toast

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

Link / Accent

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

a { color: #B291A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 145, 167

Red: 178 / Green: 145 / Blue: 167

HSL

320°, 18%, 63%

Hue: 320° / Saturation: 18% / Lightness: 63%

CMYK

0%, 19%, 6%, 30%

Cyan: 0% / Magenta: 19% / Yellow: 6% / Key: 30%

What color is #B291A7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B291A7 to RGB:

rgb(178, 145, 167)HEX to RGB Converter →

HEX to HSL

Convert #B291A7 to HSL:

hsl(320, 18%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #B291A7 to CMYK:

cmyk(0%, 19%, 6%, 30%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #B291A7 has RGB (178, 145, 167) and HSL (320°, 18%, 63%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B291A7 is #90B29B, creating high-contrast pairings. For softer combinations, try analogous colors like #AC90B2.

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

Contrast with #B291A7

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

Contrast Ratio: 7.50:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B291A7?

#B291A7 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B291A7?

#B291A7 in RGB is (178, 145, 167) - 178 red, 145 green, and 167 blue.

How to use #B291A7 in CSS?

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

What colors go well with #B291A7?

#90B29B (complementary), #AC90B2 (analogous), and #906482 (lighter shade) work well with #B291A7.