Skip to content
#C8503A
#E8905C
#F0E0C8
#3A1406
Background
Decorative / accent
Large text / UI
Large text / UI

Mapo Tofu Color Palette

#C8503A · #E8905C · #F0E0C8 · #3A1406

Fail
WCAG Grade
3.63:1
Contrast Ratio
AI Prompt

Use #C8503A as the background. Use #E8905C as the primary accent. Use #F0E0C8 as secondary. Use #3A1406 as body text/supporting color. Palette mood: Mapo Tofu — numbing, spicy, comforting.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Mapo Tofu 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.3%
200, 80, 58 0%, 60%, 71%, 22% 9°, 56%, 51%
Decorative / accent
Luminance: 37.9%
232, 144, 92 0%, 38%, 60%, 9% 22°, 75%, 64%
Large text / UI
Luminance: 76.0%
240, 224, 200 0%, 7%, 17%, 6% 36°, 57%, 86%
Large text / UI
Luminance: 1.4%
58, 20, 6 0%, 66%, 90%, 77% 16°, 81%, 13%

Mapo Tofu 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 Mapo Tofu palette — click any swatch to copy its hex.

#C8503A gently saturated red
#E8905C saturated orange
#F0E0C8 gently saturated orange
#3A1406 saturated orange

Mapo Tofu 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
#3A1406 on #F0E0C8
Aa Sample Text
12.63:1 AAA Body text, headings, UI
#F0E0C8 on #3A1406
Aa Sample Text
12.63:1 AAA Body text, headings, UI
#3A1406 on #E8905C
Aa Sample Text
6.68:1 AA Body text, UI
#E8905C on #3A1406
Aa Sample Text
6.68:1 AA Body text, UI
#3A1406 on #C8503A
Aa Sample Text
3.63:1 Fail Large headings, UI components
#C8503A on #3A1406
Aa Sample Text
3.63:1 Fail Large headings, UI components
#F0E0C8 on #C8503A
Aa Sample Text
3.47:1 Fail Large headings, UI components
#C8503A on #F0E0C8
Aa Sample Text
3.47:1 Fail Large headings, UI components
#F0E0C8 on #E8905C
Aa Sample Text
1.88:1 Fail Decorative use only
#E8905C on #F0E0C8
Aa Sample Text
1.88:1 Fail Decorative use only
#E8905C on #C8503A
Aa Sample Text
1.83:1 Fail Decorative use only
#C8503A on #E8905C
Aa Sample Text
1.83:1 Fail Decorative use only

Palette Details

Mapo tofu is silken tofu in a fiery sauce of doubanjiang and Sichuan peppercorns. Two of the four colors are balanced (56–57%) and the other two are highly saturated (75–81%), with lightness running 13–86%. Body text #3A1406 on #C8503A measures 3.63:1 (the 3:1 large-text threshold only); the accent #E8905C measures 1.83:1 against the same background.

Color Harmony: Analogous

The saturated colors span 27° around 21° (orange) — neighbouring hues, not distinct ones.

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

Mapo tofu was created in Chengdu in the 1800s by a pockmarked woman, ma po, at a small restaurant, and the dish is named for her. It became the most famous dish of Sichuan cuisine and a global ambassador for the numbing-spicy style.

Best Design Use Cases

Use the deep red for bold surfaces, the chile tones for accents, and the pale cream for text contrast. The near-black grounds everything.

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

Colors That Pair Well With Mapo Tofu

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 #E8905C on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

yellow

30° beside #E8905C — 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 Mapo Tofu Without Breaking Accessibility

  • Avoid #E8905C for small UI elements on #C8503A — at 1.83:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #3A1406 on #C8503A — 3.63:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #F0E0C8 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Mapo Tofu Color Scheme

To use this Mapo Tofu 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 {
  /* Mapo Tofu — ihatecolors */
  --color-bg: #C8503A;
  --color-accent: #E8905C;
  --color-secondary: #F0E0C8;
  --color-text: #3A1406;
}

Web Design Tip

#E8905C on #C8503A measures 1.83: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

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

Mapo Tofu Palette — Frequently Asked Questions

What are the hex codes in the Mapo Tofu color palette?

The Mapo Tofu palette contains #C8503A, #E8905C, #F0E0C8, #3A1406. 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 Mapo Tofu color palette accessible (WCAG)?

Yes. #3A1406 on #F0E0C8 reaches 12.63: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 Mapo Tofu palette?

Beyond its own four colors, #5EB6E8, #DFCF68, #171212 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 Mapo Tofu palette create?

Mapo Tofu reads as numbing, spicy, comforting. Saturated orange drives the personality, grounded by gently saturated red — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Mapo Tofu color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦