#C798CD Color Information

Hex color code: #C798CD

A pastel magenta shade, #C798CD appears as (199, 152, 205) in RGB and (293°, 35%, 70%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#C798CD
RGB
199, 152, 205
HSL
293°, 35%, 70%
CMYK
3%, 26%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C798CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 152, 205

Red: 199 / Green: 152 / Blue: 205

HSL

293°, 35%, 70%

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

CMYK

3%, 26%, 0%, 20%

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

What color is #C798CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C798CD to RGB:

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

HEX to HSL

Convert #C798CD to HSL:

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

HEX to CMYK

Convert #C798CD to CMYK:

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

Color Meaning and Usage

#C798CD is a gentle magenta color with RGB values of 199, 152, 205 and HSL of 293°, 35%, 70%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C798CD is #9ECD98, creating high-contrast pairings. For softer combinations, try analogous colors like #AC98CD.

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

Contrast with #C798CD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C798CD?

#C798CD is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C798CD?

#C798CD in RGB is (199, 152, 205) - 199 red, 152 green, and 205 blue.

How to use #C798CD in CSS?

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

What colors go well with #C798CD?

#9ECD98 (complementary), #AC98CD (analogous), and #AB64B4 (lighter shade) work well with #C798CD.