#D228CC Color

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

Color preview

#D228CC

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D228CC

.color-d228cc {
  color: #D228CC;
  background-color: #D228CC;
}

Frequently asked questions

What color is #D228CC?+

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

What is the closest Tailwind color to #D228CC?+

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