#BD28B1 Color Information

Hex color code: #BD28B1

The hex color #BD28B1 is a muted magenta with RGB values of (189, 40, 177) and HSL of (305°, 65%, 45%). It is widely used in graphic design.

Try:
Color NameViolet Red
HEX
#BD28B1
RGB
189, 40, 177
HSL
305°, 65%, 45%
CMYK
0%, 79%, 6%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BD28B1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

189, 40, 177

Red: 189 / Green: 40 / Blue: 177

HSL

305°, 65%, 45%

Hue: 305° / Saturation: 65% / Lightness: 45%

CMYK

0%, 79%, 6%, 26%

Cyan: 0% / Magenta: 79% / Yellow: 6% / Key: 26%

What color is #BD28B1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BD28B1 to RGB:

rgb(189, 40, 177)HEX to RGB Converter →

HEX to HSL

Convert #BD28B1 to HSL:

hsl(305, 65%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #BD28B1 to CMYK:

cmyk(0%, 79%, 6%, 26%)Color Converter →

Color Meaning and Usage

#BD28B1 is a subtle magenta color with RGB values of 189, 40, 177 and HSL of 305°, 65%, 45%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BD28B1 is #28BD35, creating high-contrast pairings. For softer combinations, try analogous colors like #7F28BD.

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

Contrast with #BD28B1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BD28B1?

#BD28B1 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BD28B1?

#BD28B1 in RGB is (189, 40, 177) - 189 red, 40 green, and 177 blue.

How to use #BD28B1 in CSS?

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

What colors go well with #BD28B1?

#28BD35 (complementary), #7F28BD (analogous), and #7E1B76 (lighter shade) work well with #BD28B1.