#D298AB Color Information

Hex color code: #D298AB

#D298AB is a soft magenta color. In RGB it is (210, 152, 171), and in HSL it is (340°, 39%, 71%). It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#D298AB
RGB
210, 152, 171
HSL
340°, 39%, 71%
CMYK
0%, 28%, 19%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D298AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 152, 171

Red: 210 / Green: 152 / Blue: 171

HSL

340°, 39%, 71%

Hue: 340° / Saturation: 39% / Lightness: 71%

CMYK

0%, 28%, 19%, 18%

Cyan: 0% / Magenta: 28% / Yellow: 19% / Key: 18%

What color is #D298AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D298AB to RGB:

rgb(210, 152, 171)HEX to RGB Converter →

HEX to HSL

Convert #D298AB to HSL:

hsl(340, 39%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #D298AB to CMYK:

cmyk(0%, 28%, 19%, 18%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #D298AB has RGB (210, 152, 171) and HSL (340°, 39%, 71%). Known for evoking warmth and passion, this red-orange hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D298AB is #98D2BF, creating high-contrast pairings. For softer combinations, try analogous colors like #D298C8.

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

Contrast with #D298AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D298AB?

#D298AB is a pastel magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #D298AB?

#D298AB in RGB is (210, 152, 171) - 210 red, 152 green, and 171 blue.

How to use #D298AB in CSS?

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

What colors go well with #D298AB?

#98D2BF (complementary), #D298C8 (analogous), and #BB6380 (lighter shade) work well with #D298AB.