#CB40C1 Color Information

Hex color code: #CB40C1

A muted magenta shade, #CB40C1 appears as (203, 64, 193) in RGB and (304°, 57%, 52%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#CB40C1
RGB
203, 64, 193
HSL
304°, 57%, 52%
CMYK
0%, 68%, 5%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CB40C1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 64, 193

Red: 203 / Green: 64 / Blue: 193

HSL

304°, 57%, 52%

Hue: 304° / Saturation: 57% / Lightness: 52%

CMYK

0%, 68%, 5%, 20%

Cyan: 0% / Magenta: 68% / Yellow: 5% / Key: 20%

What color is #CB40C1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CB40C1 to RGB:

rgb(203, 64, 193)HEX to RGB Converter →

HEX to HSL

Convert #CB40C1 to HSL:

hsl(304, 57%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #CB40C1 to CMYK:

cmyk(0%, 68%, 5%, 20%)Color Converter →

Color Meaning and Usage

#CB40C1 is a neutral magenta color with RGB values of 203, 64, 193 and HSL of 304°, 57%, 52%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CB40C1 is #3FCA48, creating high-contrast pairings. For softer combinations, try analogous colors like #8E3FCA.

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

Contrast with #CB40C1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CB40C1?

#CB40C1 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CB40C1?

#CB40C1 in RGB is (203, 64, 193) - 203 red, 64 green, and 193 blue.

How to use #CB40C1 in CSS?

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

What colors go well with #CB40C1?

#3FCA48 (complementary), #8E3FCA (analogous), and #94298D (lighter shade) work well with #CB40C1.