#C796C5 Color Information

Hex color code: #C796C5

#C796C5 is a gentle magenta color. In RGB it is (199, 150, 197), and in HSL it is (302°, 30%, 68%). It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#C796C5
RGB
199, 150, 197
HSL
302°, 30%, 68%
CMYK
0%, 25%, 1%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C796C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 150, 197

Red: 199 / Green: 150 / Blue: 197

HSL

302°, 30%, 68%

Hue: 302° / Saturation: 30% / Lightness: 68%

CMYK

0%, 25%, 1%, 22%

Cyan: 0% / Magenta: 25% / Yellow: 1% / Key: 22%

What color is #C796C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C796C5 to RGB:

rgb(199, 150, 197)HEX to RGB Converter →

HEX to HSL

Convert #C796C5 to HSL:

hsl(302, 30%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #C796C5 to CMYK:

cmyk(0%, 25%, 1%, 22%)Color Converter →

Color Meaning and Usage

A gentle magenta tone, #C796C5 has RGB (199, 150, 197) and HSL (302°, 30%, 68%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C796C5 is #95C697, creating high-contrast pairings. For softer combinations, try analogous colors like #AF95C6.

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

Contrast with #C796C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C796C5?

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

What is the RGB value of #C796C5?

#C796C5 in RGB is (199, 150, 197) - 199 red, 150 green, and 197 blue.

How to use #C796C5 in CSS?

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

What colors go well with #C796C5?

#95C697 (complementary), #AF95C6 (analogous), and #AB63A9 (lighter shade) work well with #C796C5.