#CD98B2 Color Information

Hex color code: #CD98B2

#CD98B2 is a delicate magenta color. In RGB it is (205, 152, 178), and in HSL it is (331°, 35%, 70%). It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#CD98B2
RGB
205, 152, 178
HSL
331°, 35%, 70%
CMYK
0%, 26%, 13%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CD98B2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 152, 178

Red: 205 / Green: 152 / Blue: 178

HSL

331°, 35%, 70%

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

CMYK

0%, 26%, 13%, 20%

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

What color is #CD98B2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CD98B2 to RGB:

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

HEX to HSL

Convert #CD98B2 to HSL:

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

HEX to CMYK

Convert #CD98B2 to CMYK:

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

Color Meaning and Usage

#CD98B2 is a pastel magenta color with RGB values of 205, 152, 178 and HSL of 331°, 35%, 70%. This red-orange hue evokes warmth and passion, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CD98B2 is #98CDB3, creating high-contrast pairings. For softer combinations, try analogous colors like #CD98CC.

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

Contrast with #CD98B2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CD98B2?

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

What is the RGB value of #CD98B2?

#CD98B2 in RGB is (205, 152, 178) - 205 red, 152 green, and 178 blue.

How to use #CD98B2 in CSS?

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

What colors go well with #CD98B2?

#98CDB3 (complementary), #CD98CC (analogous), and #B4648B (lighter shade) work well with #CD98B2.