Skip to content
#F2D2A8
#D97A3C
#9C4E5C
#3A2418
Background
Decorative / accent
Large text / UI
Text · AAA

Marrakech Riad Sunset Color Palette

#F2D2A8 · #D97A3C · #9C4E5C · #3A2418

AAA
WCAG Grade
10.07:1
Contrast Ratio
AI Prompt

Use #F2D2A8 as the background. Use #D97A3C as the primary accent. Use #9C4E5C as secondary. Use #3A2418 as body text/supporting color. Palette mood: Marrakech Riad Sunset — sunset, warm, earthy.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Marrakech Riad Sunset 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: 67.8%
242, 210, 168 0%, 13%, 31%, 5% 34°, 74%, 80%
Decorative / accent
Luminance: 29.0%
217, 122, 60 0%, 44%, 72%, 15% 24°, 67%, 54%
Large text / UI
Luminance: 13.3%
156, 78, 92 0%, 50%, 41%, 39% 349°, 33%, 46%
Text · AAA
Luminance: 2.2%
58, 36, 24 0%, 38%, 59%, 77% 21°, 41%, 16%

Marrakech Riad Sunset 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 Marrakech Riad Sunset palette — click any swatch to copy its hex.

#F2D2A8 saturated orange
#D97A3C saturated orange
#9C4E5C gently saturated rose-red
#3A2418 gently saturated orange

Marrakech Riad Sunset 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
#3A2418 on #F2D2A8
Aa Sample Text
10.07:1 AAA Body text, headings, UI
#F2D2A8 on #3A2418
Aa Sample Text
10.07:1 AAA Body text, headings, UI
#3A2418 on #D97A3C
Aa Sample Text
4.70:1 AA Body text, UI
#D97A3C on #3A2418
Aa Sample Text
4.70:1 AA Body text, UI
#9C4E5C on #F2D2A8
Aa Sample Text
3.98:1 Fail Large headings, UI components
#F2D2A8 on #9C4E5C
Aa Sample Text
3.98:1 Fail Large headings, UI components
#3A2418 on #9C4E5C
Aa Sample Text
2.53:1 Fail Decorative use only
#9C4E5C on #3A2418
Aa Sample Text
2.53:1 Fail Decorative use only
#D97A3C on #F2D2A8
Aa Sample Text
2.14:1 Fail Decorative use only
#F2D2A8 on #D97A3C
Aa Sample Text
2.14:1 Fail Decorative use only
#9C4E5C on #D97A3C
Aa Sample Text
1.85:1 Fail Decorative use only
#D97A3C on #9C4E5C
Aa Sample Text
1.85:1 Fail Decorative use only

Palette Details

The rooftops of Marrakech turn the colour of apricots at dusk above the souks, minarets, and the Atlas Mountains beyond. Two of the four colors are balanced (33–41%) and the other two are highly saturated (67–74%), with lightness running 16–80%. Body text #3A2418 on #F2D2A8 measures 10.07:1 (AAA for normal text); the accent #D97A3C measures 2.14:1 against the same background.

Color Harmony: Analogous

Two neighbouring hue groups sit 37° apart (26°, 349°) — the extended analogous range.

Hue Wheel

Neighbouring hues read as cohesive and give little contrast between slots; build hierarchy from the lightness ladder rather than from hue.

History & Design Context

Marrakech was founded in 1070 and its medina walls are washed in a pigment that gave the city its nickname, the Red City; the Koutoubia minaret has marked the skyline since the twelfth century.

Best Design Use Cases

Use the clay light for backgrounds, spice orange for primary actions, henna red for highlights, and medina brown for text.

Measured best pair: #3A2418 on #F2D2A8 at 10.07:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

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

Colors That Pair Well With Marrakech Riad Sunset

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.

cyan-blue

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

yellow

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

tinted neutral

an ink-black carrying the palette's own hue — perfect for surfaces and dividers

Using Marrakech Riad Sunset Without Breaking Accessibility

  • Avoid #D97A3C for small UI elements on #F2D2A8 — at 2.14:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #3A2418 — 10.07:1 against #F2D2A8 passes WCAG AA (AAA) for long-form reading.
  • Let #9C4E5C carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #D97A3C.

How to Implement the Marrakech Riad Sunset Color Scheme

To use this Marrakech Riad Sunset 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 {
  /* Marrakech Riad Sunset — ihatecolors */
  --color-bg: #F2D2A8;
  --color-accent: #D97A3C;
  --color-secondary: #9C4E5C;
  --color-text: #3A2418;
}

Web Design Tip

#D97A3C on #F2D2A8 measures 2.14: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

Body copy in #3A2418 on #F2D2A8 measures 10.07:1, which passes WCAG AAA for normal text.

Marrakech Riad Sunset Palette — Frequently Asked Questions

What are the hex codes in the Marrakech Riad Sunset color palette?

The Marrakech Riad Sunset palette contains #F2D2A8, #D97A3C, #9C4E5C, #3A2418. 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 Marrakech Riad Sunset color palette accessible (WCAG)?

Yes. #3A2418 on #F2D2A8 reaches 10.07:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Marrakech Riad Sunset palette?

Beyond its own four colors, #3B99D8, #CDBF47, #181511 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 Marrakech Riad Sunset palette create?

Marrakech Riad Sunset reads as sunset, warm, earthy. Saturated orange drives the personality, grounded by saturated orange — a combination that works best when the very light base gets most of the canvas.

Can I use the Marrakech Riad Sunset color palette commercially?

Yes. Individual color values can't be copyrighted, so the Marrakech Riad Sunset 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 Marrakech Riad Sunset 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 Marrakech Riad Sunset's exact values, including the tint and shade ramps shown above.

Similar Palettes

Live Preview
Generate Similar ✦