#C796BF Color Information

Hex color code: #C796BF

A pastel magenta shade, #C796BF appears as (199, 150, 191) in RGB and (310°, 30%, 68%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#C796BF
RGB
199, 150, 191
HSL
310°, 30%, 68%
CMYK
0%, 25%, 4%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C796BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 150, 191

Red: 199 / Green: 150 / Blue: 191

HSL

310°, 30%, 68%

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

CMYK

0%, 25%, 4%, 22%

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

What color is #C796BF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C796BF to RGB:

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

HEX to HSL

Convert #C796BF to HSL:

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

HEX to CMYK

Convert #C796BF to CMYK:

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

Color Meaning and Usage

A pastel magenta tone, #C796BF has RGB (199, 150, 191) and HSL (310°, 30%, 68%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C796BF is #95C69D, creating high-contrast pairings. For softer combinations, try analogous colors like #B695C6.

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

Contrast with #C796BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C796BF?

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

What is the RGB value of #C796BF?

#C796BF in RGB is (199, 150, 191) - 199 red, 150 green, and 191 blue.

How to use #C796BF in CSS?

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

What colors go well with #C796BF?

#95C69D (complementary), #B695C6 (analogous), and #AB639F (lighter shade) work well with #C796BF.