#B997AF Color Information

Hex color code: #B997AF

A soft magenta shade, #B997AF appears as (185, 151, 175) in RGB and (318°, 20%, 66%) in HSL. It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#B997AF
RGB
185, 151, 175
HSL
318°, 20%, 66%
CMYK
0%, 18%, 5%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B997AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 151, 175

Red: 185 / Green: 151 / Blue: 175

HSL

318°, 20%, 66%

Hue: 318° / Saturation: 20% / Lightness: 66%

CMYK

0%, 18%, 5%, 27%

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

What color is #B997AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B997AF to RGB:

rgb(185, 151, 175)HEX to RGB Converter →

HEX to HSL

Convert #B997AF to HSL:

hsl(318, 20%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #B997AF to CMYK:

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

Color Meaning and Usage

#B997AF is a gentle magenta color with RGB values of 185, 151, 175 and HSL of 318°, 20%, 66%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B997AF is #97BAA1, creating high-contrast pairings. For softer combinations, try analogous colors like #B397BA.

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

Contrast with #B997AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B997AF?

#B997AF is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B997AF?

#B997AF in RGB is (185, 151, 175) - 185 red, 151 green, and 175 blue.

How to use #B997AF in CSS?

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

What colors go well with #B997AF?

#97BAA1 (complementary), #B397BA (analogous), and #9B698C (lighter shade) work well with #B997AF.