#C0118C Color Information

Hex color code: #C0118C

The hex color #C0118C is a dynamic magenta with RGB values of (192, 17, 140) and HSL of (318°, 84%, 41%). It is typically applied in digital products.

Try:
Color NameMedium Violet Red
HEX
#C0118C
RGB
192, 17, 140
HSL
318°, 84%, 41%
CMYK
0%, 91%, 27%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #C0118C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #C0118C; color: #FFFFFF; }

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 #C0118C; background-color: #C0118C15; }

Alert / Toast

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

Link / Accent

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

a { color: #C0118C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

192, 17, 140

Red: 192 / Green: 17 / Blue: 140

HSL

318°, 84%, 41%

Hue: 318° / Saturation: 84% / Lightness: 41%

CMYK

0%, 91%, 27%, 25%

Cyan: 0% / Magenta: 91% / Yellow: 27% / Key: 25%

What color is #C0118C?

#C0118C is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C0118C to RGB:

rgb(192, 17, 140)HEX to RGB Converter →

HEX to HSL

Convert #C0118C to HSL:

hsl(318, 84%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #C0118C to CMYK:

cmyk(0%, 91%, 27%, 25%)Color Converter →

Color Meaning and Usage

#C0118C is a bold magenta color with RGB values of 192, 17, 140 and HSL of 318°, 84%, 41%. This highly saturated hue evokes energy and excitement, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C0118C is #11C045, creating high-contrast pairings. For softer combinations, try analogous colors like #9D11C0.

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

Contrast with #C0118C

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

Contrast Ratio: 3.70:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C0118C?

#C0118C is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #C0118C?

#C0118C in RGB is (192, 17, 140) - 192 red, 17 green, and 140 blue.

How to use #C0118C in CSS?

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

What colors go well with #C0118C?

#11C045 (complementary), #9D11C0 (analogous), and #7A0B59 (lighter shade) work well with #C0118C.