#B31991 Color Information

Hex color code: #B31991

The hex color #B31991 is a bold magenta with RGB values of (179, 25, 145) and HSL of (313°, 75%, 40%). It is frequently seen in web interfaces.

Try:
Color NameMedium Violet Red
HEX
#B31991
RGB
179, 25, 145
HSL
313°, 75%, 40%
CMYK
0%, 86%, 19%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B31991; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 25, 145

Red: 179 / Green: 25 / Blue: 145

HSL

313°, 75%, 40%

Hue: 313° / Saturation: 75% / Lightness: 40%

CMYK

0%, 86%, 19%, 30%

Cyan: 0% / Magenta: 86% / Yellow: 19% / Key: 30%

What color is #B31991?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B31991 to RGB:

rgb(179, 25, 145)HEX to RGB Converter →

HEX to HSL

Convert #B31991 to HSL:

hsl(313, 75%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #B31991 to CMYK:

cmyk(0%, 86%, 19%, 30%)Color Converter →

Color Meaning and Usage

#B31991 is a vivid magenta color with RGB values of 179, 25, 145 and HSL of 313°, 75%, 40%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B31991 is #19B33B, creating high-contrast pairings. For softer combinations, try analogous colors like #8719B3.

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

Contrast with #B31991

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B31991?

#B31991 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B31991?

#B31991 in RGB is (179, 25, 145) - 179 red, 25 green, and 145 blue.

How to use #B31991 in CSS?

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

What colors go well with #B31991?

#19B33B (complementary), #8719B3 (analogous), and #70105B (lighter shade) work well with #B31991.