#B297AB Color Information

Hex color code: #B297AB

#B297AB is a muted magenta color. In RGB it is (178, 151, 171), and in HSL it is (316°, 15%, 65%). It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#B297AB
RGB
178, 151, 171
HSL
316°, 15%, 65%
CMYK
0%, 15%, 4%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B297AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 151, 171

Red: 178 / Green: 151 / Blue: 171

HSL

316°, 15%, 65%

Hue: 316° / Saturation: 15% / Lightness: 65%

CMYK

0%, 15%, 4%, 30%

Cyan: 0% / Magenta: 15% / Yellow: 4% / Key: 30%

What color is #B297AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B297AB to RGB:

rgb(178, 151, 171)HEX to RGB Converter →

HEX to HSL

Convert #B297AB to HSL:

hsl(316, 15%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #B297AB to CMYK:

cmyk(0%, 15%, 4%, 30%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #B297AB has RGB (178, 151, 171) and HSL (316°, 15%, 65%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B297AB is #98B3A0, creating high-contrast pairings. For softer combinations, try analogous colors like #AD98B3.

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

Contrast with #B297AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B297AB?

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

What is the RGB value of #B297AB?

#B297AB in RGB is (178, 151, 171) - 178 red, 151 green, and 171 blue.

How to use #B297AB in CSS?

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

What colors go well with #B297AB?

#98B3A0 (complementary), #AD98B3 (analogous), and #936C88 (lighter shade) work well with #B297AB.