#C402A0 Color

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

Color preview

#C402A0

Color formats

HEX
#C402A0
RGB
rgb(196, 2, 160)
RGBA
rgba(196, 2, 160, 1)
HSL
hsl(311, 98%, 39%)
HSV
hsv(311, 99%, 77%)
CMYK
cmyk(0%, 99%, 18%, 23%)
CSS variable
--color-primary: #C402A0;
Lowercase HEX
#c402a0

Shades

Tints

Tones

Harmony

CSS snippets for #C402A0

.color-c402a0 {
  color: #C402A0;
  background-color: #C402A0;
}

Frequently asked questions

What color is #C402A0?+

#C402A0 is a HEX color with RGB value rgb(196, 2, 160) and HSL value hsl(311, 98%, 39%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #C402A0?+

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