#D228A7 Color

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

Color preview

#D228A7

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D228A7

.color-d228a7 {
  color: #D228A7;
  background-color: #D228A7;
}

Frequently asked questions

What color is #D228A7?+

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

What is the closest Tailwind color to #D228A7?+

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