#D228A5 Color

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

Color preview

#D228A5

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D228A5

.color-d228a5 {
  color: #D228A5;
  background-color: #D228A5;
}

Frequently asked questions

What color is #D228A5?+

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

What is the closest Tailwind color to #D228A5?+

The closest Tailwind color is pink-500, available as the bg-pink-500 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