#B12562 Color Information

Hex color code: #B12562

The hex color #B12562 is a invigorating magenta with RGB values of (177, 37, 98) and HSL of (334°, 65%, 42%). It is widely used in graphic design.

Try:
Color NameMedium Violet Red
HEX
#B12562
RGB
177, 37, 98
HSL
334°, 65%, 42%
CMYK
0%, 79%, 45%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B12562; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 37, 98

Red: 177 / Green: 37 / Blue: 98

HSL

334°, 65%, 42%

Hue: 334° / Saturation: 65% / Lightness: 42%

CMYK

0%, 79%, 45%, 31%

Cyan: 0% / Magenta: 79% / Yellow: 45% / Key: 31%

What color is #B12562?

#B12562 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B12562 to RGB:

rgb(177, 37, 98)HEX to RGB Converter →

HEX to HSL

Convert #B12562 to HSL:

hsl(334, 65%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #B12562 to CMYK:

cmyk(0%, 79%, 45%, 31%)Color Converter →

Color Meaning and Usage

#B12562 is a invigorating magenta color with RGB values of 177, 37, 98 and HSL of 334°, 65%, 42%. This red-orange hue evokes warmth and passion, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B12562 is #25B174, creating high-contrast pairings. For softer combinations, try analogous colors like #B125A7.

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

Contrast with #B12562

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B12562?

#B12562 is a invigorating magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #B12562?

#B12562 in RGB is (177, 37, 98) - 177 red, 37 green, and 98 blue.

How to use #B12562 in CSS?

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

What colors go well with #B12562?

#25B174 (complementary), #B125A7 (analogous), and #72183F (lighter shade) work well with #B12562.