#B162B7 Color Information

Hex color code: #B162B7

A soft magenta shade, #B162B7 appears as (177, 98, 183) in RGB and (296°, 37%, 55%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#B162B7
RGB
177, 98, 183
HSL
296°, 37%, 55%
CMYK
3%, 46%, 0%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #B162B7; color: #000000; }

Badge

New Feature
.badge { background-color: #B162B7; color: #000000; }

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 #B162B7; background-color: #B162B715; }

Alert / Toast

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

Link / Accent

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

a { color: #B162B7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 98, 183

Red: 177 / Green: 98 / Blue: 183

HSL

296°, 37%, 55%

Hue: 296° / Saturation: 37% / Lightness: 55%

CMYK

3%, 46%, 0%, 28%

Cyan: 3% / Magenta: 46% / Yellow: 0% / Key: 28%

What color is #B162B7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B162B7 to RGB:

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

HEX to HSL

Convert #B162B7 to HSL:

hsl(296, 37%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #B162B7 to CMYK:

cmyk(3%, 46%, 0%, 28%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #B162B7 has RGB (177, 98, 183) and HSL (296°, 37%, 55%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B162B7 is #67B762, creating high-contrast pairings. For softer combinations, try analogous colors like #8762B7.

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

Contrast with #B162B7

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

Contrast Ratio: 5.30:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B162B7?

#B162B7 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B162B7?

#B162B7 in RGB is (177, 98, 183) - 177 red, 98 green, and 183 blue.

How to use #B162B7 in CSS?

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

What colors go well with #B162B7?

#67B762 (complementary), #8762B7 (analogous), and #87408C (lighter shade) work well with #B162B7.