#B4798E Color Information

Hex color code: #B4798E

#B4798E is a pastel magenta color. In RGB it is (180, 121, 142), and in HSL it is (339°, 28%, 59%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#B4798E
RGB
180, 121, 142
HSL
339°, 28%, 59%
CMYK
0%, 33%, 21%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B4798E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 121, 142

Red: 180 / Green: 121 / Blue: 142

HSL

339°, 28%, 59%

Hue: 339° / Saturation: 28% / Lightness: 59%

CMYK

0%, 33%, 21%, 29%

Cyan: 0% / Magenta: 33% / Yellow: 21% / Key: 29%

What color is #B4798E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B4798E to RGB:

rgb(180, 121, 142)HEX to RGB Converter →

HEX to HSL

Convert #B4798E to HSL:

hsl(339, 28%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #B4798E to CMYK:

cmyk(0%, 33%, 21%, 29%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #B4798E has RGB (180, 121, 142) and HSL (339°, 28%, 59%). Known for evoking warmth and passion, this red-orange hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B4798E is #79B49F, creating high-contrast pairings. For softer combinations, try analogous colors like #B479AB.

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

Contrast with #B4798E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B4798E?

#B4798E is a subtle magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #B4798E?

#B4798E in RGB is (180, 121, 142) - 180 red, 121 green, and 142 blue.

How to use #B4798E in CSS?

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

What colors go well with #B4798E?

#79B49F (complementary), #B479AB (analogous), and #905167 (lighter shade) work well with #B4798E.