#B0118B Color Information

Hex color code: #B0118B

The hex color #B0118B is a striking magenta with RGB values of (176, 17, 139) and HSL of (314°, 82%, 38%). It is popular in mobile app design.

Try:
Color NameMedium Violet Red
HEX
#B0118B
RGB
176, 17, 139
HSL
314°, 82%, 38%
CMYK
0%, 90%, 21%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B0118B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

176, 17, 139

Red: 176 / Green: 17 / Blue: 139

HSL

314°, 82%, 38%

Hue: 314° / Saturation: 82% / Lightness: 38%

CMYK

0%, 90%, 21%, 31%

Cyan: 0% / Magenta: 90% / Yellow: 21% / Key: 31%

What color is #B0118B?

#B0118B is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B0118B to RGB:

rgb(176, 17, 139)HEX to RGB Converter →

HEX to HSL

Convert #B0118B to HSL:

hsl(314, 82%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #B0118B to CMYK:

cmyk(0%, 90%, 21%, 31%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #B0118B has RGB (176, 17, 139) and HSL (314°, 82%, 38%). Known for evoking energy and excitement, this highly saturated hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B0118B is #11B037, creating high-contrast pairings. For softer combinations, try analogous colors like #8611B0.

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

Contrast with #B0118B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B0118B?

#B0118B is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B0118B?

#B0118B in RGB is (176, 17, 139) - 176 red, 17 green, and 139 blue.

How to use #B0118B in CSS?

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

What colors go well with #B0118B?

#11B037 (complementary), #8611B0 (analogous), and #6B0B54 (lighter shade) work well with #B0118B.