#B3198C Color Information

Hex color code: #B3198C

The hex color #B3198C is a eye-catching magenta with RGB values of (179, 25, 140) and HSL of (315°, 75%, 40%). It is popular in mobile app design.

Try:
Color NameMedium Violet Red
HEX
#B3198C
RGB
179, 25, 140
HSL
315°, 75%, 40%
CMYK
0%, 86%, 22%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B3198C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 25, 140

Red: 179 / Green: 25 / Blue: 140

HSL

315°, 75%, 40%

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

CMYK

0%, 86%, 22%, 30%

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

What color is #B3198C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B3198C to RGB:

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

HEX to HSL

Convert #B3198C to HSL:

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

HEX to CMYK

Convert #B3198C to CMYK:

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

Color Meaning and Usage

A bold magenta tone, #B3198C has RGB (179, 25, 140) and HSL (315°, 75%, 40%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B3198C is #19B340, creating high-contrast pairings. For softer combinations, try analogous colors like #8C19B3.

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

Contrast with #B3198C

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 #B3198C?

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

What is the RGB value of #B3198C?

#B3198C in RGB is (179, 25, 140) - 179 red, 25 green, and 140 blue.

How to use #B3198C in CSS?

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

What colors go well with #B3198C?

#19B340 (complementary), #8C19B3 (analogous), and #701058 (lighter shade) work well with #B3198C.