#B7159C Color Information

Hex color code: #B7159C

A dynamic magenta shade, #B7159C appears as (183, 21, 156) in RGB and (310°, 79%, 40%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Violet Red
HEX
#B7159C
RGB
183, 21, 156
HSL
310°, 79%, 40%
CMYK
0%, 89%, 15%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B7159C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 21, 156

Red: 183 / Green: 21 / Blue: 156

HSL

310°, 79%, 40%

Hue: 310° / Saturation: 79% / Lightness: 40%

CMYK

0%, 89%, 15%, 28%

Cyan: 0% / Magenta: 89% / Yellow: 15% / Key: 28%

What color is #B7159C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B7159C to RGB:

rgb(183, 21, 156)HEX to RGB Converter →

HEX to HSL

Convert #B7159C to HSL:

hsl(310, 79%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #B7159C to CMYK:

cmyk(0%, 89%, 15%, 28%)Color Converter →

Color Meaning and Usage

#B7159C is a eye-catching magenta color with RGB values of 183, 21, 156 and HSL of 310°, 79%, 40%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B7159C is #15B730, creating high-contrast pairings. For softer combinations, try analogous colors like #8115B7.

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

Contrast with #B7159C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B7159C?

#B7159C is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B7159C?

#B7159C in RGB is (183, 21, 156) - 183 red, 21 green, and 156 blue.

How to use #B7159C in CSS?

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

What colors go well with #B7159C?

#15B730 (complementary), #8115B7 (analogous), and #720D61 (lighter shade) work well with #B7159C.