#D228CF Color Information

Hex color code: #D228CF

#D228CF is a muted magenta color. In RGB it is (210, 40, 207), and in HSL it is (301°, 68%, 49%). It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#D228CF
RGB
210, 40, 207
HSL
301°, 68%, 49%
CMYK
0%, 81%, 1%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D228CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 40, 207

Red: 210 / Green: 40 / Blue: 207

HSL

301°, 68%, 49%

Hue: 301° / Saturation: 68% / Lightness: 49%

CMYK

0%, 81%, 1%, 18%

Cyan: 0% / Magenta: 81% / Yellow: 1% / Key: 18%

What color is #D228CF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D228CF to RGB:

rgb(210, 40, 207)HEX to RGB Converter →

HEX to HSL

Convert #D228CF to HSL:

hsl(301, 68%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #D228CF to CMYK:

cmyk(0%, 81%, 1%, 18%)Color Converter →

Color Meaning and Usage

A understated magenta tone, #D228CF has RGB (210, 40, 207) and HSL (301°, 68%, 49%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D228CF is #28D22B, creating high-contrast pairings. For softer combinations, try analogous colors like #8028D2.

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

Contrast with #D228CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D228CF?

#D228CF is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D228CF?

#D228CF in RGB is (210, 40, 207) - 210 red, 40 green, and 207 blue.

How to use #D228CF in CSS?

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

What colors go well with #D228CF?

#28D22B (complementary), #8028D2 (analogous), and #921C90 (lighter shade) work well with #D228CF.