Spain Flag Colors

The Spain flag uses 2 colors: Red (#AA151B), Yellow (#F1BF00). Click a color to copy its code.

#AA151B
#F1BF00
Red
HEX#AA151B
RGBrgb(170, 21, 27)
HSLhsl(358, 78%, 37%)
CMYKcmyk(0%, 88%, 84%, 33%)
NameCarnelian (closest)
Tailwindred-700
Yellow
HEX#F1BF00
RGBrgb(241, 191, 0)
HSLhsl(48, 100%, 47%)
CMYKcmyk(0%, 21%, 100%, 5%)
NameMarigold (closest)
Tailwindyellow-500

CSS variables

:root {
  --spain-red: #AA151B;
  --spain-yellow: #F1BF00;
}

Use this palette

Make a gradient Shades of #AA151B

Flag colors are common digital (sRGB) approximations. Official specifications vary and are often defined in Pantone or CMYK.

More flag colors: Europe

Spain colors: questions & answers

What colors are on the Spain flag?

Red (#AA151B), Yellow (#F1BF00).

What is the HEX code of the Spain flag colors?

Red: #AA151B; Yellow: #F1BF00.

Are these the official Spain flag colors?

They are widely used screen approximations. The official specification may define the colors in Pantone or CMYK, which can look slightly different on screen.