Skip to content
#1A8A4A
#E8A020
#E8482A
#F0E8D8
Background
Decorative / accent
Decorative / accent
Large text / UI

Rio Carnival Color Palette

#1A8A4A · #E8A020 · #E8482A · #F0E8D8

Fail
WCAG Grade
3.60:1
Contrast Ratio
AI Prompt

Use #1A8A4A as the background. Use #E8A020 as the primary accent. Use #E8482A as secondary. Use #F0E8D8 as body text/supporting color. Palette mood: Rio Carnival — festive, vibrant, joyful.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Rio Carnival color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 18.9%
26, 138, 74 81%, 0%, 46%, 46% 146°, 68%, 32%
Decorative / accent
Luminance: 42.4%
232, 160, 32 0%, 31%, 86%, 9% 38°, 81%, 52%
Decorative / accent
Luminance: 22.0%
232, 72, 42 0%, 69%, 82%, 9% 9°, 81%, 54%
Large text / UI
Luminance: 81.2%
240, 232, 216 0%, 3%, 10%, 6% 40°, 44%, 89%

Rio Carnival Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Rio Carnival palette — click any swatch to copy its hex.

#1A8A4A saturated green
#E8A020 saturated orange
#E8482A saturated red
#F0E8D8 gently saturated orange

Rio Carnival Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#F0E8D8 on #1A8A4A
Aa Sample Text
3.60:1 Fail Large headings, UI components
#1A8A4A on #F0E8D8
Aa Sample Text
3.60:1 Fail Large headings, UI components
#F0E8D8 on #E8482A
Aa Sample Text
3.19:1 Fail Large headings, UI components
#E8482A on #F0E8D8
Aa Sample Text
3.19:1 Fail Large headings, UI components
#E8A020 on #1A8A4A
Aa Sample Text
1.98:1 Fail Decorative use only
#1A8A4A on #E8A020
Aa Sample Text
1.98:1 Fail Decorative use only
#F0E8D8 on #E8A020
Aa Sample Text
1.81:1 Fail Decorative use only
#E8A020 on #F0E8D8
Aa Sample Text
1.81:1 Fail Decorative use only
#E8482A on #E8A020
Aa Sample Text
1.75:1 Fail Decorative use only
#E8A020 on #E8482A
Aa Sample Text
1.75:1 Fail Decorative use only
#E8482A on #1A8A4A
Aa Sample Text
1.12:1 Fail Decorative use only
#1A8A4A on #E8482A
Aa Sample Text
1.12:1 Fail Decorative use only

Palette Details

Rio carnival is the green of the flag, the gold of the samba school costumes, and the red of heat and rhythm. The palette is engineered celebration, impossible to read as neutral or quiet.

Color Harmony: No Single Classic Rule

Two hue groups sit 117° apart — 3 colors around 29° and 1 color around 146°. That is neither complementary (180°) nor analogous (within about 60°).

Hue Wheel

Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.

History & Design Context

The Rio carnival descends from Portuguese entrudo celebrations blended with African samba traditions in the nineteenth century. The samba schools competition at the Sambodromo is now one of the largest spectacles on earth.

Best Design Use Cases

Use the green for large surfaces, gold for highlights and premium moments, and the red for energy and CTAs. The cream keeps text readable against the festival colors.

Measured best pair: #F0E8D8 on #1A8A4A at 3.60:1 (Fail). No pair reaches 4.5:1, so use this pair for large text and UI only; this palette has no body-safe text pair.

Industries This Palette Suits

Startups & SaaS, Retail & E-commerce, Food & Beverage, Fashion, Agencies & Services, Non-profits.

Colors That Pair Well With Rio Carnival

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

blue

directly opposite #E8A020 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

yellow

30° beside #E8A020 — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Rio Carnival Without Breaking Accessibility

  • Avoid #E8A020 for small UI elements on #1A8A4A — at 1.98:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #F0E8D8 on #1A8A4A — 3.60:1 fails WCAG AA; keep it for large decorative headings only.
  • Let #E8482A carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #E8A020.

How to Implement the Rio Carnival Color Scheme

To use this Rio Carnival color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Rio Carnival — ihatecolors */
  --color-bg: #1A8A4A;
  --color-accent: #E8A020;
  --color-secondary: #E8482A;
  --color-text: #F0E8D8;
}

Web Design Tip

#E8A020 on #1A8A4A measures 1.98:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.

Accessibility Note

#F0E8D8 on #1A8A4A measures 3.60:1 — enough for large text and UI components (3:1) but below the 4.5:1 needed for body copy.

Rio Carnival Palette — Frequently Asked Questions

What are the hex codes in the Rio Carnival color palette?

The Rio Carnival palette contains #1A8A4A, #E8A020, #E8482A, #F0E8D8. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Rio Carnival color palette accessible (WCAG)?

For large text and UI components only. #F0E8D8 on #1A8A4A reaches 3.60:1, which clears the 3:1 threshold for large text and UI but not the 4.5:1 needed for body copy. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Rio Carnival palette?

Beyond its own four colors, #216AE8, #C4DC2E, #EAF0ED extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Rio Carnival palette create?

Rio Carnival reads as festive, vibrant, joyful. Saturated orange drives the personality, grounded by saturated green — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Rio Carnival color palette commercially?

Yes. Individual color values can't be copyrighted, so the Rio Carnival palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Rio Carnival palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Rio Carnival's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦