#D4118D Color

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

Color preview

#D4118D

Color formats

HEX
#D4118D
RGB
rgb(212, 17, 141)
RGBA
rgba(212, 17, 141, 1)
HSL
hsl(322, 85%, 45%)
HSV
hsv(322, 92%, 83%)
CMYK
cmyk(0%, 92%, 33%, 17%)
CSS variable
--color-primary: #D4118D;
Lowercase HEX
#d4118d

Shades

Tints

Tones

Harmony

CSS snippets for #D4118D

.color-d4118d {
  color: #D4118D;
  background-color: #D4118D;
}

Frequently asked questions

What color is #D4118D?+

#D4118D is a HEX color with RGB value rgb(212, 17, 141) and HSL value hsl(322, 85%, 45%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D4118D?+

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