#D228D2 Color

Inspect #D228D2 across formats, palettes, contrast and closest named color matches.

Color preview

#D228D2

Color formats

HEX
#D228D2
RGB
rgb(210, 40, 210)
RGBA
rgba(210, 40, 210, 1)
HSL
hsl(300, 68%, 49%)
HSV
hsv(300, 81%, 82%)
CMYK
cmyk(0%, 81%, 0%, 18%)
CSS variable
--color-primary: #D228D2;
Lowercase HEX
#d228d2

Shades

Tints

Tones

Harmony

CSS snippets for #D228D2

.color-d228d2 {
  color: #D228D2;
  background-color: #D228D2;
}

Frequently asked questions

What color is #D228D2?+

#D228D2 is a HEX color with RGB value rgb(210, 40, 210) and HSL value hsl(300, 68%, 49%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D228D2?+

The closest Tailwind color is fuchsia-600, available as the bg-fuchsia-600 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools