#B28BA7 Color Information

Hex color code: #B28BA7

#B28BA7 is a subtle magenta color. In RGB it is (178, 139, 167), and in HSL it is (317°, 20%, 62%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#B28BA7
RGB
178, 139, 167
HSL
317°, 20%, 62%
CMYK
0%, 22%, 6%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B28BA7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 139, 167

Red: 178 / Green: 139 / Blue: 167

HSL

317°, 20%, 62%

Hue: 317° / Saturation: 20% / Lightness: 62%

CMYK

0%, 22%, 6%, 30%

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

What color is #B28BA7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B28BA7 to RGB:

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

HEX to HSL

Convert #B28BA7 to HSL:

hsl(317, 20%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #B28BA7 to CMYK:

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

Color Meaning and Usage

#B28BA7 is a soft magenta color with RGB values of 178, 139, 167 and HSL of 317°, 20%, 62%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B28BA7 is #8BB196, creating high-contrast pairings. For softer combinations, try analogous colors like #A98BB1.

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

Contrast with #B28BA7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B28BA7?

#B28BA7 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B28BA7?

#B28BA7 in RGB is (178, 139, 167) - 178 red, 139 green, and 167 blue.

How to use #B28BA7 in CSS?

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

What colors go well with #B28BA7?

#8BB196 (complementary), #A98BB1 (analogous), and #906082 (lighter shade) work well with #B28BA7.