#D31212 Color

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

Color preview

#D31212

Color formats

HEX
#D31212
RGB
rgb(211, 18, 18)
RGBA
rgba(211, 18, 18, 1)
HSL
hsl(0, 84%, 45%)
HSV
hsv(0, 91%, 83%)
CMYK
cmyk(0%, 91%, 91%, 17%)
CSS variable
--color-primary: #D31212;
Lowercase HEX
#d31212

Shades

Tints

Tones

Harmony

CSS snippets for #D31212

.color-d31212 {
  color: #D31212;
  background-color: #D31212;
}

Frequently asked questions

What color is #D31212?+

#D31212 is a HEX color with RGB value rgb(211, 18, 18) and HSL value hsl(0, 84%, 45%). Its closest CSS named color is FireBrick.

What is the closest Tailwind color to #D31212?+

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