#C402C4 Color

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

Color preview

#C402C4

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #C402C4

.color-c402c4 {
  color: #C402C4;
  background-color: #C402C4;
}

Frequently asked questions

What color is #C402C4?+

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

What is the closest Tailwind color to #C402C4?+

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