#510402 Color

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

Color preview

#510402

Color formats

HEX
#510402
RGB
rgb(81, 4, 2)
RGBA
rgba(81, 4, 2, 1)
HSL
hsl(2, 95%, 16%)
HSV
hsv(2, 98%, 32%)
CMYK
cmyk(0%, 95%, 98%, 68%)
CSS variable
--color-primary: #510402;
Lowercase HEX
#510402

Shades

Tints

Tones

Harmony

CSS snippets for #510402

.color-510402 {
  color: #510402;
  background-color: #510402;
}

Frequently asked questions

What color is #510402?+

#510402 is a HEX color with RGB value rgb(81, 4, 2) and HSL value hsl(2, 95%, 16%). Its closest CSS named color is Maroon.

What is the closest Tailwind color to #510402?+

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