#D31F12 Color

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

Color preview

#D31F12

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D31F12

.color-d31f12 {
  color: #D31F12;
  background-color: #D31F12;
}

Frequently asked questions

What color is #D31F12?+

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

What is the closest Tailwind color to #D31F12?+

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