#B51FBD Color Information

Hex color code: #B51FBD

A vivid magenta shade, #B51FBD appears as (181, 31, 189) in RGB and (297°, 72%, 43%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#B51FBD
RGB
181, 31, 189
HSL
297°, 72%, 43%
CMYK
4%, 84%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B51FBD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

181, 31, 189

Red: 181 / Green: 31 / Blue: 189

HSL

297°, 72%, 43%

Hue: 297° / Saturation: 72% / Lightness: 43%

CMYK

4%, 84%, 0%, 26%

Cyan: 4% / Magenta: 84% / Yellow: 0% / Key: 26%

What color is #B51FBD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B51FBD to RGB:

rgb(181, 31, 189)HEX to RGB Converter →

HEX to HSL

Convert #B51FBD to HSL:

hsl(297, 72%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #B51FBD to CMYK:

cmyk(4%, 84%, 0%, 26%)Color Converter →

Color Meaning and Usage

#B51FBD is a bold magenta color with RGB values of 181, 31, 189 and HSL of 297°, 72%, 43%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B51FBD is #27BD1F, creating high-contrast pairings. For softer combinations, try analogous colors like #661FBD.

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

Contrast with #B51FBD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B51FBD?

#B51FBD is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B51FBD?

#B51FBD in RGB is (181, 31, 189) - 181 red, 31 green, and 189 blue.

How to use #B51FBD in CSS?

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

What colors go well with #B51FBD?

#27BD1F (complementary), #661FBD (analogous), and #76147B (lighter shade) work well with #B51FBD.