#D172A6 Color

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

Color preview

#D172A6

Color formats

HEX
#D172A6
RGB
rgb(209, 114, 166)
RGBA
rgba(209, 114, 166, 1)
HSL
hsl(327, 51%, 63%)
HSV
hsv(327, 45%, 82%)
CMYK
cmyk(0%, 45%, 21%, 18%)
CSS variable
--color-primary: #D172A6;
Lowercase HEX
#d172a6

Shades

Tints

Tones

Harmony

CSS snippets for #D172A6

.color-d172a6 {
  color: #D172A6;
  background-color: #D172A6;
}

Frequently asked questions

What color is #D172A6?+

#D172A6 is a HEX color with RGB value rgb(209, 114, 166) and HSL value hsl(327, 51%, 63%). Its closest CSS named color is PaleVioletRed.

What is the closest Tailwind color to #D172A6?+

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