#CB98C7 Color Information

Hex color code: #CB98C7

A gentle magenta shade, #CB98C7 appears as (203, 152, 199) in RGB and (305°, 33%, 70%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#CB98C7
RGB
203, 152, 199
HSL
305°, 33%, 70%
CMYK
0%, 25%, 2%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CB98C7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 152, 199

Red: 203 / Green: 152 / Blue: 199

HSL

305°, 33%, 70%

Hue: 305° / Saturation: 33% / Lightness: 70%

CMYK

0%, 25%, 2%, 20%

Cyan: 0% / Magenta: 25% / Yellow: 2% / Key: 20%

What color is #CB98C7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CB98C7 to RGB:

rgb(203, 152, 199)HEX to RGB Converter →

HEX to HSL

Convert #CB98C7 to HSL:

hsl(305, 33%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #CB98C7 to CMYK:

cmyk(0%, 25%, 2%, 20%)Color Converter →

Color Meaning and Usage

#CB98C7 is a pastel magenta color with RGB values of 203, 152, 199 and HSL of 305°, 33%, 70%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CB98C7 is #99CC9D, creating high-contrast pairings. For softer combinations, try analogous colors like #B799CC.

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

Contrast with #CB98C7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CB98C7?

#CB98C7 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CB98C7?

#CB98C7 in RGB is (203, 152, 199) - 203 red, 152 green, and 199 blue.

How to use #CB98C7 in CSS?

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

What colors go well with #CB98C7?

#99CC9D (complementary), #B799CC (analogous), and #B266AC (lighter shade) work well with #CB98C7.