#CD42B1 Color

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

Color preview

#CD42B1

Color formats

HEX
#CD42B1
RGB
rgb(205, 66, 177)
RGBA
rgba(205, 66, 177, 1)
HSL
hsl(312, 58%, 53%)
HSV
hsv(312, 68%, 80%)
CMYK
cmyk(0%, 68%, 14%, 20%)
CSS variable
--color-primary: #CD42B1;
Lowercase HEX
#cd42b1

Shades

Tints

Tones

Harmony

CSS snippets for #CD42B1

.color-cd42b1 {
  color: #CD42B1;
  background-color: #CD42B1;
}

Frequently asked questions

What color is #CD42B1?+

#CD42B1 is a HEX color with RGB value rgb(205, 66, 177) and HSL value hsl(312, 58%, 53%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #CD42B1?+

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