#B28ABC Color Information

Hex color code: #B28ABC

#B28ABC is a subtle magenta color. In RGB it is (178, 138, 188), and in HSL it is (288°, 27%, 64%). It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#B28ABC
RGB
178, 138, 188
HSL
288°, 27%, 64%
CMYK
5%, 27%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B28ABC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 138, 188

Red: 178 / Green: 138 / Blue: 188

HSL

288°, 27%, 64%

Hue: 288° / Saturation: 27% / Lightness: 64%

CMYK

5%, 27%, 0%, 26%

Cyan: 5% / Magenta: 27% / Yellow: 0% / Key: 26%

What color is #B28ABC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B28ABC to RGB:

rgb(178, 138, 188)HEX to RGB Converter →

HEX to HSL

Convert #B28ABC to HSL:

hsl(288, 27%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #B28ABC to CMYK:

cmyk(5%, 27%, 0%, 26%)Color Converter →

Color Meaning and Usage

#B28ABC is a pastel magenta color with RGB values of 178, 138, 188 and HSL of 288°, 27%, 64%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B28ABC is #94BC8A, creating high-contrast pairings. For softer combinations, try analogous colors like #998ABC.

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

Contrast with #B28ABC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B28ABC?

#B28ABC is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B28ABC?

#B28ABC in RGB is (178, 138, 188) - 178 red, 138 green, and 188 blue.

How to use #B28ABC in CSS?

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

What colors go well with #B28ABC?

#94BC8A (complementary), #998ABC (analogous), and #915B9F (lighter shade) work well with #B28ABC.