#B51C7D Color Information

Hex color code: #B51C7D

A eye-catching magenta shade, #B51C7D appears as (181, 28, 125) in RGB and (322°, 73%, 41%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Violet Red
HEX
#B51C7D
RGB
181, 28, 125
HSL
322°, 73%, 41%
CMYK
0%, 85%, 31%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B51C7D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

181, 28, 125

Red: 181 / Green: 28 / Blue: 125

HSL

322°, 73%, 41%

Hue: 322° / Saturation: 73% / Lightness: 41%

CMYK

0%, 85%, 31%, 29%

Cyan: 0% / Magenta: 85% / Yellow: 31% / Key: 29%

What color is #B51C7D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B51C7D to RGB:

rgb(181, 28, 125)HEX to RGB Converter →

HEX to HSL

Convert #B51C7D to HSL:

hsl(322, 73%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #B51C7D to CMYK:

cmyk(0%, 85%, 31%, 29%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #B51C7D has RGB (181, 28, 125) and HSL (322°, 73%, 41%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B51C7D is #1CB554, creating high-contrast pairings. For softer combinations, try analogous colors like #A11CB5.

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

Contrast with #B51C7D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B51C7D?

#B51C7D is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B51C7D?

#B51C7D in RGB is (181, 28, 125) - 181 red, 28 green, and 125 blue.

How to use #B51C7D in CSS?

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

What colors go well with #B51C7D?

#1CB554 (complementary), #A11CB5 (analogous), and #73124F (lighter shade) work well with #B51C7D.