#D228AD Color

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

Color preview

#D228AD

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D228AD

.color-d228ad {
  color: #D228AD;
  background-color: #D228AD;
}

Frequently asked questions

What color is #D228AD?+

#D228AD is a HEX color with RGB value rgb(210, 40, 173) and HSL value hsl(313, 68%, 49%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D228AD?+

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