
Dark mode email design is the practice of building emails that stay readable, on brand, and easy to act on when a subscriber reads them in dark mode, and that still look right when the same email opens in light mode. It covers color choices, logo and image handling, a small set of dark mode styles, and testing across the email clients that subscribers actually use.
This guide explains what dark mode email design is, how Apple Mail, Gmail, and Outlook change email colors, how to enable dark mode styles with meta tags and the prefers-color-scheme media query, how to design logos and images that survive inversion, which colors keep contrast strong in both modes, how dark mode interacts with accessibility, and how to test before sending. The write emails for AI inboxes guide covers the other inbox shift that shapes modern email, and the ideas here pair with it: an email has to survive both an AI summary and a dark mode render.
What Is Dark Mode Email Design and Why It Matters
Dark mode email design means designing an email for two appearances at once. In light mode, dark text sits on a light background. In dark mode, light text sits on a dark background, and the email client may rewrite some or all of the colors on its own. A design that ignores the second appearance can lose its logo, turn body text invisible, or flip a dark button to a light one with unreadable text.
Dark mode is no longer a niche setting. Litmus reports that an average of 35 percent of tracked opens used dark mode in 2022, and the share has grown steadily since. The Courier dark mode email design guide cites the Litmus July 2026 Email Client Market Share report, calculated from over a billion opens, which puts dark mode usage at over 25 percent of the user base. When a quarter or more of a list reads in dark mode, an email that breaks in dark mode breaks for a large share of the audience. Apple added dark mode to its desktop email client in 2018, dark mode came to iOS Mail the following year, and Gmail announced dark mode support in 2019. Since then, every major email client has added a dark appearance, but each client applies it in a different way, and that difference is the core problem of dark mode email design.
Why Subscribers Switch On Dark Mode
Subscribers switch on dark mode for practical reasons. Light text on a dark background reduces eye strain in low light, lowers screen brightness, and can save battery life on phones with OLED screens. Some subscribers simply prefer darker interfaces, and many set dark mode at the operating system level, so every app follows the same choice. An email that respects that choice feels considered. An email that fights it feels broken.
The design goal is not to force a dark theme on every reader. The goal is to make sure the email reads well in both themes. The Litmus dark mode email guide puts it plainly: dark mode is not a matter of dark mode against light mode, it is a matter of what subscribers want, and the sender should build emails that respect darker interfaces just as they add alt text for subscribers who read with images off.
Design for two appearances from the start. An email that only works in light mode is an email that breaks for a quarter of the list.
How Email Clients Change Your Colors: Three Behaviors
Email clients apply dark mode in three fundamentally different ways, and the first step in dark mode email design is to know which behavior each client uses. The three behaviors are no color change, partial color invert, and full color invert.
| Behavior | What happens to your colors | Where you see it |
|---|---|---|
| No color change | Your colors render exactly as written. A light email stays light inside a dark app | Apple Mail without dark styles, Gmail on desktop web, Yahoo Mail, AOL |
| Partial color invert | Light backgrounds go dark and dark text goes light. Elements that are already dark, such as buttons, keep their color | Outlook.com, new Outlook, Outlook mobile, Gmail app on Android |
| Full color invert | Every color gets rewritten, including dark backgrounds and call to action fills | Classic Outlook on Windows, Windows Mail, Gmail app on iOS |
No color change is the easiest behavior to handle, because the email looks exactly as designed. The catch is that a light email inside a dark app can still fail: if the email sets no background color, the dark app background shows through, and dark gray text set by the email becomes dark gray on near black. That unset background is the single most common Apple Mail dark mode failure, and it has nothing to do with inversion.
Partial color invert is the most common behavior. It usually produces a readable result, because light areas go dark and dark text goes light together. The failure mode is the element that is already dark: a black header bar stays black, so it vanishes against the new dark background, and a photo that blended into a light page becomes a bright slab floating in a dark email. The Courier guide shows a real example where a headline that measured 4.65 to 1 contrast in light mode dropped to 4.07 to 1 after Gmail flipped it, so the headline became less readable in dark mode, not more.
Full color invert is the most invasive behavior. It rewrites dark backgrounds too, so an email that was already designed dark can be forced light. Gmail app on iOS is the harshest of the three Gmail surfaces in this regard, and classic Outlook on Windows and Windows Mail use the same logic. Litmus notes that the clients using full inversion currently allow no dark mode targeting at all, so the only defense is a palette that stays readable even when it is rewritten.
Which Email Clients Your Dark Mode Work Has to Cover
Testing time is limited, so the order of work should follow where opens actually happen. The Litmus July 2026 Email Client Market Share report, calculated from over a billion opens, puts Apple at 62.26 percent of opens, Gmail at 27.03 percent, and Outlook at 5.83 percent. Nearly 90 percent of opens are Apple or Gmail. That sets the order of work: Apple Mail on an iPhone first, the Gmail app on an iPhone second, then Outlook.
| Email client | Share of opens | Dark mode behavior | Can you target it with dark mode CSS |
|---|---|---|---|
| Apple Mail on macOS | Part of Apple 62.26 percent | No change, unless dark styles are added | Yes, with prefers-color-scheme after opt in |
| Apple Mail on iOS | Part of Apple 62.26 percent | No change, unless dark styles are added | Yes, with prefers-color-scheme after opt in |
| Gmail app on iOS | Part of Gmail 27.03 percent | Full invert | No, only the blend mode workaround for some colors |
| Gmail app on Android | Part of Gmail 27.03 percent | Partial invert | No |
| Gmail on desktop web | Part of Gmail 27.03 percent | No change | No targeting needed |
| Outlook.com | Part of Outlook 5.83 percent | Partial invert | Yes, with data-ogsc selectors |
| Classic Outlook on Windows | Part of Outlook 5.83 percent | Full invert | No |
| Outlook app on iOS and Android | Part of Outlook 5.83 percent | Partial invert | Yes, with data-ogsc selectors |
Outlook deserves more testing time than its 5.83 percent share suggests. It skews toward business inboxes, so a B2B list can run several times higher than the global share, and classic Outlook on Windows is the one client with no dark mode controls at all. Microsoft has new Outlook for Windows still in the opt in stage and off by default, and classic installations are supported until at least 2029, so the hardest dark mode client is not going away soon. Samsung Email version 6.1 and later and Thunderbird version 128 and later also support the prefers-color-scheme media query, and both belong in the test set when either shows up in open data. The best email marketing platforms guide helps with choosing a tool that previews across these clients, and the preview step matters more here than in any other email task.
How to Enable Dark Mode in Your Emails: Meta Tags and Color Scheme
Apple Mail is the only client where dark mode is a design decision the sender makes. Everywhere else it is a resilience problem. Apple Mail renders email in WebKit, and WebKit does not auto darken web content: documents have to opt in. The opt in has two parts. Add these two meta tags to the head of the email: meta name color-scheme with content light dark, and meta name supported-color-schemes with content light dark. The notation moved over time: Apple Mail 12 on macOS Mojave wanted the meta tag, while Apple Mail 13 on Catalina and later want the color-scheme CSS property. Ship both notations, because they cost nothing and they cover old and new clients. Without the opt in, a perfect dark palette written inside a prefers-color-scheme media query is dead code in Apple Mail, and none of it renders.
There is one more Apple Mail detail to know before writing any dark styles. If the meta tags are present but no dark styles are supplied, Apple Mail applies a partial invert to the email. The safe pattern is to ship the opt in together with a complete set of dark styles, rather than adding the meta tags alone. The email and SMS automation guide covers how templates flow through automation, and the meta tags belong in the shared template so every automated email carries them.
How to Write Dark Mode CSS With Prefers-Color-Scheme

The prefers-color-scheme media query is the main tool for custom dark mode email design. It works the same way as a media query for mobile responsive design, except the CSS block targets any interface that is set to dark mode. Inside the block, the sender sets dark backgrounds, light text, link colors, and image swaps. Litmus reports that this method works in iOS, Apple Mail, Outlook.com, Outlook 2019 on macOS, and the Outlook app on iOS.
A practical dark mode block does four jobs. First, it sets a dark background color for the email body, such as the warm dark gray 272623 used in the Litmus example. Second, it sets heading, paragraph, span, link, and bold text to white or near white. Third, it sets a distinct link color, such as the soft blue 91ADD4 used in the Litmus example, so links stay visible and distinct from body text. Fourth, it swaps images: a class named dark-img shows dark mode only content such as a light logo, and a class named light-img hides light mode only content such as a dark logo.
Two details in the CSS matter. Use important on dark mode rules, because email clients apply their own styles after the sender styles, and specificity alone does not win. And avoid pure white inside the media query: Apple Mail has a documented bug where it ignores a background color of ffffff inside a prefers-color-scheme block while accepting fffffe. The Courier guide traces the standard advice to avoid pure white and pure black to exactly this bug, and recommends fffffe and 0e0e0e instead. Newer Apple Mail builds also support the light-dark function from iOS 17.5.1 and macOS with Safari 17.5 or later, but it works nowhere else, so use it only as progressive enhancement on top of a media query. The email copywriting guide covers how to keep the words working once the colors are set, and the same discipline applies here: the CSS should serve the message, not draw attention to itself.
How to Target Outlook Dark Mode With Data-Ogsc
Outlook.com, new Outlook, and Outlook mobile apply a partial inversion, and they also hand the sender a second hook. When Outlook.com changes a color, it stores the original value in a data attribute: data-ogsc for a style color, data-ogac for a color attribute, data-ogsb for a style background, and data-ogab for a bgcolor attribute. The sender can write selectors with the data-ogsc prefix to override the client default dark theme, in the same way as duplicating the prefers-color-scheme styles with the data-ogsc prefix on each rule.
The trigger is contrast. Outlook.com modifies elements that fall below a 4.5 to 1 contrast ratio against its dark background, so the data-ogsc method only fires where the client has already decided the original colors fail. There are two gotchas. Attribute selector support is thin, so repeat the attribute on every selector in a group rather than grouping selectors under one attribute. And the sturdier pattern is to put a white background on a wrapper, let Outlook change the wrapper, then style the inner element.
Classic Outlook on Windows is a different problem entirely. It renders HTML with the Microsoft Word engine, and Can I Email records no prefers-color-scheme support in any version from 2003 through 2019. There is no dark mode API to write against: set the Office theme to Black and Outlook recolors the message itself, on its own terms. Microsoft states that there is no supported way to stop it, and lists what does not work: important on inline styles, a color-scheme meta tag set to light only, mso conditional comments, and prefers-color-scheme blocks. One partial workaround exists: Outlook does not recolor images, so a background image can carry a color through the transformation, but reliability varies by build, so use it to protect one critical element such as a logo lockup, not as a layout strategy. The escape hatch belongs to the reader, not to the sender: classic Outlook has a per message toggle that switches the message background to white, and a setting named Never change the message background color that keeps every message light while the app stays dark. A real share of dark theme Outlook readers never see a recolored email, so put the effort into the light design rather than fighting a dark one that cannot be reached. The transactional email guide covers messages where this matters most, because order confirmations and password resets are read in every client, including classic Outlook.
How to Design Logos and Images for Dark Mode

Logos fail in dark mode more often than any other element, because a logo is usually a fixed image that the email client cannot restyle. A dark logo on a transparent background vanishes against a dark email background, and a white logo on a transparent background vanishes against a light one. The fix starts before any code: give the logo a version for each mode, or design one logo that survives both. The simplest robust logo is a transparent PNG with a translucent outline. Litmus recommends adding a light translucent outline to transparent PNGs with dark text, so the text stays legible in clients where dark mode customization is limited, such as the Gmail app and Outlook 2019 on Windows. The outline is invisible on light mode and serves as a defensive design tactic. Microsoft gives the same advice in different words: use transparent backgrounds for logos and icons, or add a subtle glow or stroke to help them stand out in dark mode.
Where image swapping is supported, swap the logo outright. Use the dark-img and light-img classes inside the prefers-color-scheme block, and duplicate the same swap with data-ogsc selectors for Outlook. The light logo shows in dark mode, the dark logo shows in light mode, and each client renders the version that fits. The what is BIMI guide covers the verified brand logo that appears beside the sender name in the inbox, and the same logo discipline applies: a brand mark has to stay recognizable in every rendering context, not only in the one the designer checked.
Three image rules round out the set. Avoid embedding text in images, because embedded text cannot change color when the background shifts and can become unreadable. For animation, prefer APNG over GIF: GIF files do not support transparency well and white outlines can become pixelated from the limited color range, while APNG files support transparency and a wider color range. And remember that images are not always safe from inversion: Gmail has been observed running a color filter over PNG artwork, turning white bands in flag icons grey and blue, so putting a problem inside an image is not a reliable escape hatch.
Dark Mode Colors That Work: Contrast, Midtones and Off White
Color choice is the heart of dark mode email design, and the rules are simple: avoid pure black and pure white, keep contrast strong in both modes, and test the exact pairs the email uses. Pure black and pure white trigger unwanted color inversion in several clients, and pure white on pure black can cause eye strain. The Microsoft dark mode email guide recommends dark gray 1A1A1A and off white F5F5F5 instead of pure black 000000 and pure white FFFFFF, and Litmus gives the same advice for the same reason.
| Element | Light mode color | Dark mode color | Why it works |
|---|---|---|---|
| Page background | Off white F5F5F5 | Dark gray 1A1A1A or warm dark 272623 | Avoids pure white and pure black, which trigger inversion |
| Body text | Dark gray 1A1A1A | Off white F5F5F5 or white FFFFFE | Strong contrast in both modes, and FFFFFE avoids the Apple Mail pure white bug |
| Links | Brand blue with 4.5 to 1 contrast | Soft blue 91ADD4 | Stays distinct from body text on a dark background |
| Buttons | Brand color with white text | Same brand color, checked for contrast after inversion | Already dark elements keep their color under partial inversion, so verify the text still reads |
Midtones are the most reliable tool for elements that must work in both modes without a swap. Litmus recommends designing with midtones while accounting for accessible contrast ratios: a color toward the middle of the value range has a high enough contrast for both white and black. That is useful for icons, dividers, borders, and secondary text. Buttons deserve a separate check, because partial inversion leaves already dark elements alone: a dark button with dark text can become unreadable when the surrounding page goes dark. Check every button in both modes, with the actual text color. The email marketing metrics guide covers how to measure click through rate, and a button that cannot be read in dark mode is a click through rate problem for a quarter of the list, not only a design problem.
Dark Mode Email Design and Accessibility

Dark mode and accessibility overlap, and the overlap cuts both ways. Dark mode can improve readability for some people, such as individuals with cataracts, and it can introduce problems for others, including people with color blindness or dyslexia. The key is to offer a choice where possible and to ensure proper color contrast in any mode. A dark mode design that ignores accessibility fails the same readers it was meant to help.
The standard to aim for is the Web Content Accessibility Guidelines. Litmus recommends meeting WCAG Level AA as a minimum and aiming for Level AAA where possible, and using a tool such as the WebAIM Contrast Checker to evaluate color contrast before sending. The 4.5 to 1 ratio for normal text is the AA threshold, and it is also the threshold Outlook.com uses when it decides to recolor an element, so meeting AA keeps the sender in control of the palette instead of handing control to the client.
Typography matters as much as color. Microsoft advises against thin fonts, especially for light text on dark backgrounds, and recommends bolding a thin font in dark mode when the brand requires one. Small muted text that passes in light mode often fails in dark mode, because the effective contrast drops when the background goes dark.
Respect for user preference is the last accessibility rule. If a subscriber has made a conscious decision to view emails in dark mode, the sender should respect it, not force the light design back with hacks. Litmus warns that the Gmail blend mode fix and the Outlook VML workaround both force original light mode colors where applied, which risks disrespecting the preference for dark mode. Use those techniques sparingly, only to fix a case where the client conversion makes text unreadable, and let the dark preference win everywhere else. The AI email personalization guide covers how to adapt messages to subscriber behavior, and dark mode preference is one more subscriber signal worth honoring.
Meet WCAG Level AA contrast in both modes, and let the dark preference win. A hack that forces light colors on a dark mode reader fixes a layout and breaks trust.
How to Test Dark Mode Emails Before You Send

Testing is the only way to know what an email does in dark mode, because behavior shifts between app releases and no documentation stays current for long. Litmus puts it bluntly: email clients are constantly changing, and with a feature like dark mode, tweaks to rendering logic are frequent.
| Test target | Mode to check | What to look for |
|---|---|---|
| Apple Mail on iPhone | Light and dark | Background set, dark styles applied, logo version correct |
| Gmail app on iPhone | Dark | Full inversion: buttons, dark sections, and text contrast after rewrite |
| Gmail app on Android | Dark | Partial inversion: black header bar, photos, and muted text |
| Outlook.com | Dark | Partial inversion and data-ogsc overrides on low contrast elements |
| Classic Outlook on Windows | Dark theme | Full inversion: light design fallback, logo lockup protected |
The minimum test set is the Big Three: Apple Mail on iOS, Gmail, and Outlook, each in both appearances. Those three cover the vast majority of any audience, and each handles dark mode completely differently. A preview tool such as Litmus or Email on Acid renders the same template across clients without sending a hundred test emails. A manual test still matters: send a test to a real iPhone, a real Android phone, and a real Windows machine, set each client to dark mode before sending, and compare the rendering with the light version side by side.
Build the test into the sending checklist, not into the template launch alone. Every campaign gets a dark mode pass, because a template change, a new image, or a client update can break a design that passed last month. Check the logo, the buttons, the footer text, and the muted text first, because those are the elements that fail most often. The how to build an email list guide covers growing the audience, and the test step protects the audience that is already there: a subscriber who cannot read an email will not click it, and a subscriber who cannot click it will not come back.
Dark Mode Email Design Checklist: What to Build First
A dark mode ready template does not need a rebuild. It needs a short list of additions, applied in order, and checked on every send. Work through this list once per template, then keep the test step on the campaign checklist.
- Set a background color on the email body, so the dark app background never shows through under dark text.
- Add the color-scheme and supported-color-schemes meta tags, plus the color-scheme CSS property, to the head of the template.
- Write a prefers-color-scheme media query with a dark background, light text, a distinct link color, and dark-img and light-img image swaps.
- Duplicate the dark styles with data-ogsc selectors for Outlook.com and Outlook mobile.
- Replace pure black and pure white with dark gray 1A1A1A and off white F5F5F5, and use FFFFFE inside the media query instead of FFFFFF.
- Give the logo a light version for dark mode, or add a translucent outline to the transparent PNG.
- Add padding around images with backgrounds, and avoid embedding text in images.
- Check every button in both modes, with the actual text color, and check muted text against the 4.5 to 1 ratio.
- Bold any thin font in dark mode, and keep font sizes large enough to read on a dark background.
- Test in Apple Mail on iPhone, the Gmail app on iPhone and Android, Outlook.com, and classic Outlook on Windows, in both appearances, before every send.
The email segmentation guide covers how to divide a list by behavior, and the same idea applies to testing: a B2B list with a high Outlook share needs more Outlook testing than a consumer list with a high Apple share. The good open rate guide sets the benchmark for what a healthy list opens, and dark mode readability protects that benchmark for the share of the list that reads in the dark. The bulk sender requirements guide covers the authentication and spam rate rules that keep emails reaching the inbox at all, and dark mode design is the next step after delivery: the email has to read well once it arrives.
Conclusion
Dark mode email design is not a separate discipline from email design. It is the same discipline, applied to two appearances instead of one. Set the background, declare dark mode support, write a small set of dark styles, design a logo that survives both modes, keep contrast above 4.5 to 1 in both modes, and test in Apple Mail, Gmail, and Outlook before every send.
The subscriber has already made a choice by turning on dark mode. Respecting that choice costs a few lines of CSS and a logo variant, and it keeps the email readable for a quarter or more of the list. That is a small price for an email that works every time it is opened, in either mode.
FAQs
What is dark mode email design?
Dark mode email design is the practice of building emails that stay readable, on brand, and easy to act on when a subscriber reads them in dark mode, and that still look right in light mode. It covers color choices, logo and image handling, a small set of dark mode styles with the prefers-color-scheme media query, and testing across Apple Mail, Gmail, and Outlook.
How do email clients handle dark mode?
Email clients handle dark mode in three ways: no color change, partial color invert, and full color invert. Apple Mail and Gmail on desktop web leave colors alone unless dark styles are added. Outlook.com, new Outlook, Outlook mobile, and the Gmail app on Android partially invert light backgrounds and dark text. Classic Outlook on Windows, Windows Mail, and the Gmail app on iOS fully invert every color, including dark backgrounds and call to action fills.
How do I add dark mode support to my emails?
Add the color-scheme and supported-color-schemes meta tags with the value light dark to the head of the email, plus the color-scheme CSS property, so Apple Mail opts in. Then write a prefers-color-scheme media query with a dark background color, light text, a distinct link color, and dark-img and light-img classes to swap logos and images. Duplicate the same styles with data-ogsc selectors for Outlook.com and Outlook mobile.
Why does my logo disappear in dark mode emails?
A logo disappears in dark mode when a dark logo sits on a transparent background and the email background goes dark, or when a white logo sits on a transparent background and the email stays light. Fix it with a light version of the logo that swaps in through the prefers-color-scheme media query, or add a translucent outline to the transparent PNG so the mark stays visible on any background. Litmus recommends the outline approach for clients where dark mode customization is limited, such as the Gmail app.
Does dark mode affect email accessibility?
Dark mode affects accessibility in both directions: it can improve readability for some people, such as individuals with cataracts, and it can introduce problems for others, including people with color blindness or dyslexia. Keep text contrast at or above 4.5 to 1 in both modes to meet WCAG Level AA, aim for Level AAA where possible, check colors with the WebAIM Contrast Checker, avoid thin fonts for light text on dark backgrounds, and respect the subscriber preference for dark mode instead of forcing light colors back with hacks.
How do I test dark mode emails?
Test in Apple Mail on an iPhone, the Gmail app on iPhone and Android, Outlook.com, and classic Outlook on Windows, in both light and dark appearances. Those clients cover the vast majority of any audience and each handles dark mode differently. Use a preview tool such as Litmus or Email on Acid to render across clients, and also send a real test to a phone and a Windows machine with dark mode on. Check the logo, the buttons, the footer text, and the muted text first, and repeat the test on every send, because client rendering logic changes between app releases.
