#B51C8C Color Information
Hex color code: #B51C8C
The hex color #B51C8C is a vivid magenta with RGB values of (181, 28, 140) and HSL of (316°, 73%, 41%). It is commonly used in modern UI design.
Shades
color: #B51C8C; background-color: #B51C8C; border-color: #B51C8C; box-shadow: 0 0 10px #B51C8C; border: 2px solid #B51C8C;
bg-[#B51C8C] text-[#B51C8C] border-[#B51C8C] shadow-[0_0_10px_B51C8C]
Generate Gradient
background: linear-gradient(90deg, #B51C8C, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #B51C8C in the color wheel.
RGB, HSL and CMYK Values
RGB
181, 28, 140
Red: 181 / Green: 28 / Blue: 140
HSL
316°, 73%, 41%
Hue: 316° / Saturation: 73% / Lightness: 41%
CMYK
0%, 85%, 23%, 29%
Cyan: 0% / Magenta: 85% / Yellow: 23% / Key: 29%
What color is #B51C8C?
#B51C8C is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#B51C8C is a bold magenta color with RGB values of 181, 28, 140 and HSL of 316°, 73%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #B51C8C is #1CB545, creating high-contrast pairings. For softer combinations, try analogous colors like #911CB5.
Use #B51C8C in CSS: color: #B51C8C or background-color: #B51C8C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #B51C8C
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #B51C8C?
#B51C8C is a bold magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #B51C8C?
#B51C8C in RGB is (181, 28, 140) - 181 red, 28 green, and 140 blue.
How to use #B51C8C in CSS?
Use #B51C8C directly in your CSS properties like color or background-color.