#C402BD Color

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

Color preview

#C402BD

Color formats

HEX
#C402BD
RGB
rgb(196, 2, 189)
RGBA
rgba(196, 2, 189, 1)
HSL
hsl(302, 98%, 39%)
HSV
hsv(302, 99%, 77%)
CMYK
cmyk(0%, 99%, 4%, 23%)
CSS variable
--color-primary: #C402BD;
Lowercase HEX
#c402bd

Shades

Tints

Tones

Harmony

CSS snippets for #C402BD

.color-c402bd {
  color: #C402BD;
  background-color: #C402BD;
}

Frequently asked questions

What color is #C402BD?+

#C402BD is a HEX color with RGB value rgb(196, 2, 189) and HSL value hsl(302, 98%, 39%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #C402BD?+

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