#CB98C2 Color Information

Hex color code: #CB98C2

A soft magenta shade, #CB98C2 appears as (203, 152, 194) in RGB and (311°, 33%, 70%) in HSL. It is typically applied in digital products.

Try:
Color NamePlum
HEX
#CB98C2
RGB
203, 152, 194
HSL
311°, 33%, 70%
CMYK
0%, 25%, 4%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CB98C2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 152, 194

Red: 203 / Green: 152 / Blue: 194

HSL

311°, 33%, 70%

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

CMYK

0%, 25%, 4%, 20%

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

What color is #CB98C2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CB98C2 to RGB:

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

HEX to HSL

Convert #CB98C2 to HSL:

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

HEX to CMYK

Convert #CB98C2 to CMYK:

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

Color Meaning and Usage

A soft magenta tone, #CB98C2 has RGB (203, 152, 194) and HSL (311°, 33%, 70%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CB98C2 is #99CCA3, creating high-contrast pairings. For softer combinations, try analogous colors like #BC99CC.

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

Contrast with #CB98C2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CB98C2?

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

What is the RGB value of #CB98C2?

#CB98C2 in RGB is (203, 152, 194) - 203 red, 152 green, and 194 blue.

How to use #CB98C2 in CSS?

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

What colors go well with #CB98C2?

#99CCA3 (complementary), #BC99CC (analogous), and #B266A4 (lighter shade) work well with #CB98C2.