#B998B3 Color Information

Hex color code: #B998B3

A subtle magenta shade, #B998B3 appears as (185, 152, 179) in RGB and (311°, 19%, 66%) in HSL. It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#B998B3
RGB
185, 152, 179
HSL
311°, 19%, 66%
CMYK
0%, 18%, 3%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B998B3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 152, 179

Red: 185 / Green: 152 / Blue: 179

HSL

311°, 19%, 66%

Hue: 311° / Saturation: 19% / Lightness: 66%

CMYK

0%, 18%, 3%, 27%

Cyan: 0% / Magenta: 18% / Yellow: 3% / Key: 27%

What color is #B998B3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B998B3 to RGB:

rgb(185, 152, 179)HEX to RGB Converter →

HEX to HSL

Convert #B998B3 to HSL:

hsl(311, 19%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #B998B3 to CMYK:

cmyk(0%, 18%, 3%, 27%)Color Converter →

Color Meaning and Usage

#B998B3 is a balanced magenta color with RGB values of 185, 152, 179 and HSL of 311°, 19%, 66%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B998B3 is #98B99E, creating high-contrast pairings. For softer combinations, try analogous colors like #AE98B9.

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

Contrast with #B998B3

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

Contrast Ratio: 8.21:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B998B3?

#B998B3 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B998B3?

#B998B3 in RGB is (185, 152, 179) - 185 red, 152 green, and 179 blue.

How to use #B998B3 in CSS?

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

What colors go well with #B998B3?

#98B99E (complementary), #AE98B9 (analogous), and #9A6A91 (lighter shade) work well with #B998B3.