#B112BA Color Information

Hex color code: #B112BA

#B112BA is a eye-catching magenta color. In RGB it is (177, 18, 186), and in HSL it is (297°, 82%, 40%). It is popular in mobile app design.

Try:
Color NameDark Violet
HEX
#B112BA
RGB
177, 18, 186
HSL
297°, 82%, 40%
CMYK
5%, 90%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B112BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 18, 186

Red: 177 / Green: 18 / Blue: 186

HSL

297°, 82%, 40%

Hue: 297° / Saturation: 82% / Lightness: 40%

CMYK

5%, 90%, 0%, 27%

Cyan: 5% / Magenta: 90% / Yellow: 0% / Key: 27%

What color is #B112BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B112BA to RGB:

rgb(177, 18, 186)HEX to RGB Converter →

HEX to HSL

Convert #B112BA to HSL:

hsl(297, 82%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #B112BA to CMYK:

cmyk(5%, 90%, 0%, 27%)Color Converter →

Color Meaning and Usage

#B112BA is a eye-catching magenta color with RGB values of 177, 18, 186 and HSL of 297°, 82%, 40%. This highly saturated hue evokes energy and excitement, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B112BA is #1BBA12, creating high-contrast pairings. For softer combinations, try analogous colors like #5E12BA.

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

Contrast with #B112BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B112BA?

#B112BA is a eye-catching magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B112BA?

#B112BA in RGB is (177, 18, 186) - 177 red, 18 green, and 186 blue.

How to use #B112BA in CSS?

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

What colors go well with #B112BA?

#1BBA12 (complementary), #5E12BA (analogous), and #6F0B74 (lighter shade) work well with #B112BA.