#CD98B4 Color Information

Hex color code: #CD98B4

The hex color #CD98B4 is a subtle magenta with RGB values of (205, 152, 180) and HSL of (328°, 35%, 70%). It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#CD98B4
RGB
205, 152, 180
HSL
328°, 35%, 70%
CMYK
0%, 26%, 12%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CD98B4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 152, 180

Red: 205 / Green: 152 / Blue: 180

HSL

328°, 35%, 70%

Hue: 328° / Saturation: 35% / Lightness: 70%

CMYK

0%, 26%, 12%, 20%

Cyan: 0% / Magenta: 26% / Yellow: 12% / Key: 20%

What color is #CD98B4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CD98B4 to RGB:

rgb(205, 152, 180)HEX to RGB Converter →

HEX to HSL

Convert #CD98B4 to HSL:

hsl(328, 35%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #CD98B4 to CMYK:

cmyk(0%, 26%, 12%, 20%)Color Converter →

Color Meaning and Usage

#CD98B4 is a soft magenta color with RGB values of 205, 152, 180 and HSL of 328°, 35%, 70%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CD98B4 is #98CDB1, creating high-contrast pairings. For softer combinations, try analogous colors like #CB98CD.

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

Contrast with #CD98B4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CD98B4?

#CD98B4 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CD98B4?

#CD98B4 in RGB is (205, 152, 180) - 205 red, 152 green, and 180 blue.

How to use #CD98B4 in CSS?

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

What colors go well with #CD98B4?

#98CDB1 (complementary), #CB98CD (analogous), and #B4648F (lighter shade) work well with #CD98B4.