#CF40C5 Color Information

Hex color code: #CF40C5

The hex color #CF40C5 is a subtle magenta with RGB values of (207, 64, 197) and HSL of (304°, 60%, 53%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#CF40C5
RGB
207, 64, 197
HSL
304°, 60%, 53%
CMYK
0%, 69%, 5%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CF40C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

207, 64, 197

Red: 207 / Green: 64 / Blue: 197

HSL

304°, 60%, 53%

Hue: 304° / Saturation: 60% / Lightness: 53%

CMYK

0%, 69%, 5%, 19%

Cyan: 0% / Magenta: 69% / Yellow: 5% / Key: 19%

What color is #CF40C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CF40C5 to RGB:

rgb(207, 64, 197)HEX to RGB Converter →

HEX to HSL

Convert #CF40C5 to HSL:

hsl(304, 60%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #CF40C5 to CMYK:

cmyk(0%, 69%, 5%, 19%)Color Converter →

Color Meaning and Usage

#CF40C5 is a subtle magenta color with RGB values of 207, 64, 197 and HSL of 304°, 60%, 53%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CF40C5 is #3FCF49, creating high-contrast pairings. For softer combinations, try analogous colors like #913FCF.

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

Contrast with #CF40C5

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

Contrast Ratio: 5.19:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CF40C5?

#CF40C5 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CF40C5?

#CF40C5 in RGB is (207, 64, 197) - 207 red, 64 green, and 197 blue.

How to use #CF40C5 in CSS?

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

What colors go well with #CF40C5?

#3FCF49 (complementary), #913FCF (analogous), and #9B2793 (lighter shade) work well with #CF40C5.