#D331CB Color Information

Hex color code: #D331CB

#D331CB is a understated magenta color. In RGB it is (211, 49, 203), and in HSL it is (303°, 65%, 51%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#D331CB
RGB
211, 49, 203
HSL
303°, 65%, 51%
CMYK
0%, 77%, 4%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D331CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 49, 203

Red: 211 / Green: 49 / Blue: 203

HSL

303°, 65%, 51%

Hue: 303° / Saturation: 65% / Lightness: 51%

CMYK

0%, 77%, 4%, 17%

Cyan: 0% / Magenta: 77% / Yellow: 4% / Key: 17%

What color is #D331CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D331CB to RGB:

rgb(211, 49, 203)HEX to RGB Converter →

HEX to HSL

Convert #D331CB to HSL:

hsl(303, 65%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #D331CB to CMYK:

cmyk(0%, 77%, 4%, 17%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #D331CB has RGB (211, 49, 203) and HSL (303°, 65%, 51%). 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 #D331CB is #31D339, creating high-contrast pairings. For softer combinations, try analogous colors like #8A31D3.

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

Contrast with #D331CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D331CB?

#D331CB is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D331CB?

#D331CB in RGB is (211, 49, 203) - 211 red, 49 green, and 203 blue.

How to use #D331CB in CSS?

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

What colors go well with #D331CB?

#31D339 (complementary), #8A31D3 (analogous), and #972092 (lighter shade) work well with #D331CB.