#B31980 Color Information

Hex color code: #B31980

#B31980 is a eye-catching magenta color. In RGB it is (179, 25, 128), and in HSL it is (320°, 75%, 40%). It is popular in mobile app design.

Try:
Color NameMedium Violet Red
HEX
#B31980
RGB
179, 25, 128
HSL
320°, 75%, 40%
CMYK
0%, 86%, 28%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B31980; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 25, 128

Red: 179 / Green: 25 / Blue: 128

HSL

320°, 75%, 40%

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

CMYK

0%, 86%, 28%, 30%

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

What color is #B31980?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B31980 to RGB:

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

HEX to HSL

Convert #B31980 to HSL:

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

HEX to CMYK

Convert #B31980 to CMYK:

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

Color Meaning and Usage

A bold magenta tone, #B31980 has RGB (179, 25, 128) and HSL (320°, 75%, 40%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B31980 is #19B34D, creating high-contrast pairings. For softer combinations, try analogous colors like #9919B3.

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

Contrast with #B31980

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B31980?

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

What is the RGB value of #B31980?

#B31980 in RGB is (179, 25, 128) - 179 red, 25 green, and 128 blue.

How to use #B31980 in CSS?

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

What colors go well with #B31980?

#19B34D (complementary), #9919B3 (analogous), and #701050 (lighter shade) work well with #B31980.