#D138A1 Color

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

Color preview

#D138A1

Color formats

HEX
#D138A1
RGB
rgb(209, 56, 161)
RGBA
rgba(209, 56, 161, 1)
HSL
hsl(319, 62%, 52%)
HSV
hsv(319, 73%, 82%)
CMYK
cmyk(0%, 73%, 23%, 18%)
CSS variable
--color-primary: #D138A1;
Lowercase HEX
#d138a1

Shades

Tints

Tones

Harmony

CSS snippets for #D138A1

.color-d138a1 {
  color: #D138A1;
  background-color: #D138A1;
}

Frequently asked questions

What color is #D138A1?+

#D138A1 is a HEX color with RGB value rgb(209, 56, 161) and HSL value hsl(319, 62%, 52%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #D138A1?+

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