#C40B8E

Color Details

HEX
#C40B8E
RGB
rgb(196, 11, 142)
HSL
hsl(318, 89%, 41%)
CMYK
cmyk(0%, 94%, 28%, 23%)
Best text on this color #FFFFFF (CR 5.55:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #C40B8E swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #C40B8E

#C40B8E converts to RGB(196, 11, 142) and HSL(318, 89%, 41%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#C40B8E FAQs

What is the RGB value of #C40B8E?
RGB: 196, 11, 142. Copy as CSS: rgb(196, 11, 142)
Is #C40B8E a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #C40B8E?
Complement: #0cc643.
Does #C40B8E have good contrast on white or black?
On white: 5.55:1 (AA (normal text)). On black: 3.79:1 (AA (large text)).