rainbow flag color codes

The Ultimate Rainbow Flag Color Codes Guide: Hex, RGB & HSL Values

By Joshua Harris
AD

Every shade of the rainbow flag tells a story, representing a specific value within the LGBTQ+ community. Understanding these rainbow flag color codes is essential for designers, event organizers, and activists who need to reproduce the flag with accuracy and respect. Precise hexadecimal, RGB, and HSL values ensure that the vibrant symbol of Pride maintains its integrity across digital screens and printed materials.

The Origin and Meaning of the Colors

The original eight-stripe flag, created by Gilbert Baker in 1978, assigned distinct meanings to each of its colors. Though the modern six-stripe version is more common, the historical context of the rainbow flag color codes provides depth to the visual design. The hot pink represented sex, red symbolized life, orange stood for healing, yellow was sunlight, green denoted nature, turquoise signaled magic, blue stood for harmony, and violet represented spirit.

Modern Six-Stripe Breakdown

The evolution of the flag led to the six-color version that is widely used today. This streamlined design retained the most vivid colors while removing the pink and turquoise stripes for practical manufacturing reasons. The current rainbow flag color codes correspond to the following palette: Red, Orange, Yellow, Green, Blue, and Violet. This sequence creates the visual spectrum that is instantly recognizable worldwide.

AD
Pride (Rainbow) flag color codes
Pride (Rainbow) flag color codes
the different font styles for each letter
the different font styles for each letter
Official Pride Colors 2025: Exact Color Codes for 15 Pride Flags
Official Pride Colors 2025: Exact Color Codes for 15 Pride Flags
rgb(255, 0, 0) rgb(255, 127, 0) rgb(255, 255, 0) rgb(0, 128, 0) rgb(0, 0, 255)
Color Hex RGB HSL
Red #FF0000 hsl(0, 100%, 50%)
Orange #FF7F00 hsl(30, 100%, 50%)
Yellow #FFFF00 hsl(60, 100%, 50%)
Green #008000 hsl(120, 100%, 25%)
Blue #0000FF hsl(240, 100%, 50%)
Violet #800080 rgb(128, 0, 128) hsl(300, 100%, 25%)

Digital Reproduction and Accuracy

For web developers and digital artists, the rainbow flag color codes in Hexadecimal format are the standard. Using the correct six-digit codes ensures that the flag renders exactly as intended on websites and social media profiles. A slight deviation in the green or blue values can dull the vibrant spectrum, diminishing the symbolic power of the design.

Print Production and Fabric Application

When translating the flag into physical merchandise or banners, the rainbow flag color codes must be converted to CMYK values for printing. While Hex and RGB are additive colors for light, CMYK is subtractive, used in ink. Professional printers rely on the RGB base values to calculate the correct CMYK mix, ensuring that the fabric dyes produce bright, non-muddy colors. Ignoring this conversion results in poor-quality prints that fail to capture the energy of the digital version.

FAZENDO NÉ PQ NINGUÉM FEZ ESSA OBRA DE ARTE AINDA 😍🔫
FAZENDO NÉ PQ NINGUÉM FEZ ESSA OBRA DE ARTE AINDA 😍🔫
the color code for lgtq and flags
the color code for lgtq and flags
the color code for all different font styles and colors, including black, white, red, blue, green, yellow, pink, purple, orange
the color code for all different font styles and colors, including black, white, red, blue, green, yellow, pink, purple, orange

Accessibility and Contrast Considerations

Inclusive design extends to ensuring the rainbow flag is visible to everyone. Designers must check the contrast ratios between the stripes, particularly where red meets orange or blue meets purple. Utilizing the HSL values helps determine the lightness (L) of each color. Since the flag relies on pure saturation rather than subtle gradients, maintaining high contrast is generally easy, but it remains a critical step in respectful representation.

Global Recognition and Usage

From Pride parades in major cities to international human rights campaigns, the rainbow flag color codes serve as a universal language of equality. Adhering to the exact shades demonstrates a commitment to the movement and its history. Respecting the established palette ensures that the message of love and unity is communicated clearly, without distortion or misinterpretation across different cultures and languages.

AD
a rainbow colored background with different font and numbers on each side, including the letter e
a rainbow colored background with different font and numbers on each side, including the letter e
Gilbert Baker’s 9-Stripe Rainbow Pride flag color codes
Gilbert Baker’s 9-Stripe Rainbow Pride flag color codes
the color code for lgtq - q is shown in different colors and sizes
the color code for lgtq - q is shown in different colors and sizes
7-Stripe Rainbow Pride flag color codes
7-Stripe Rainbow Pride flag color codes
🏳️‍🌈
🏳️‍🌈
the color wheel is shown with different colors
the color wheel is shown with different colors
an image of the color chart for different colors in this graphic, you can see how many
an image of the color chart for different colors in this graphic, you can see how many
a rainbow chart with different colors and words in each color, including red, yellow, green
a rainbow chart with different colors and words in each color, including red, yellow, green
Код цветов флага "Ароэйс"
Код цветов флага "Ароэйс"
the color code for lesbian flags is shown in this graphic style, which includes different colors and
the color code for lesbian flags is shown in this graphic style, which includes different colors and
BLOXBURG Pride flags id!!
BLOXBURG Pride flags id!!
the color scheme for an art project is shown in rainbows and black, with different colors
the color scheme for an art project is shown in rainbows and black, with different colors
three different colors with the words d070 and d879 on them
three different colors with the words d070 and d879 on them
a rainbow colored flag hanging from the side of a building with text reading pride google classroom code no - 17
a rainbow colored flag hanging from the side of a building with text reading pride google classroom code no - 17
Non-Binary Flag Color Codes
Non-Binary Flag Color Codes
an ad with the text hex code for lgbtq - q flags
an ad with the text hex code for lgbtq - q flags
four different colors are shown with the same font and numbers on each one side,
four different colors are shown with the same font and numbers on each one side,
Rainbow colour pallet pastel colour aesthetic lgbt
Rainbow colour pallet pastel colour aesthetic lgbt
the color wheel is showing different shades of red, pink, and orange in various colors
the color wheel is showing different shades of red, pink, and orange in various colors
the color code for all different types of computers and their names are shown in this chart
the color code for all different types of computers and their names are shown in this chart
AD