MATERIAL DESIGN COLOR GUIDE
Material Design Color Generator – Free Material Color Palette, Shades and Material 3 Tonal Palette Online
Looking for a free Material Design color generator that turns a single brand color into a complete, ready-to-use palette? Our Material Design color palette generator takes any color you choose and builds the full set of Material shades from 50 to 900, or a Material 3 tonal palette from tone 0 to tone 100, in a fraction of a second. There is no signup, no software to install and no watermark. Pick a base color with the color picker, type a HEX code, or press the random button for inspiration, and your palette appears instantly with the HEX value and a contrast ratio for every step. When you are happy with the result, export it as CSS custom properties, an SCSS map, an Android colors.xml file, a Flutter MaterialColor or plain JSON and paste it straight into your project. Whether you need a Material UI color generator for a React app, a Material color palette for Angular Material, a Flutter theme color generator, an Android app color scheme or simply a set of Material Design color shades for a website or a Figma design, this online Material color tool gives you clean, consistent results on your phone, tablet or computer.
Material Design is the design system created by Google, and color is one of its most recognisable parts. A good Material color scheme is never just one color. It is a family of lighter and darker versions of the same hue that work together for backgrounds, buttons, text, icons, borders, hover states and dark mode. Creating those versions by hand takes time and a lot of trial and error, so a Material theme color generator saves hours and keeps your interface consistent. Use this tool as a Material Design color picker, a Material Design shades generator, a Material 3 color scheme generator and a color palette exporter, all in one page.
M2
Material Design Color Shades (50 to 900)
Generate the classic Material 2 shade scale from one base color: 50, 100, 200, 300, 400, 500, 600, 700, 800 and 900. Your chosen color becomes shade 500, the lighter shades give you soft backgrounds and hover tints, and the darker shades give you strong text, pressed states and app bars. It is the fastest way to build a Material color palette online for any website or app.
M3
Material 3 Tonal Palette Generator
Switch to Material 3 to create a tonal palette with 13 tones: 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 95, 99 and 100. Tones are based on perceptual lightness, so each step is evenly spaced to the eye. Use tone 40 for a light-theme primary, tone 80 for a dark-theme primary, and tones 90 and 10 for containers and the text that sits on them.
{ }
Export to CSS, SCSS, Android and Flutter
Do not copy colors one by one. Choose an export format and the tool writes the code for you: CSS variables for the web, an SCSS map for Sass projects, color resources for Android, a MaterialColor or tone map for Flutter, and JSON for design tokens or a Tailwind or MUI theme. Rename the palette with the color name field, for example primary, secondary or brand.
What Is the Material Design Color System?
The Material Design color system is a set of rules for choosing, naming and applying color in a user interface. Instead of picking colors at random for every button and banner, designers define a small number of key colors, usually a primary color, a secondary or accent color and sometimes a tertiary color, and then use lighter and darker versions of those colors in a predictable way. This approach keeps an app or website looking calm and consistent, and it makes it easy to change the entire look of a product by changing only a handful of base values.
In practice, a Material color palette answers three questions. Which color is the main brand color? Which supporting colors are used for accents and secondary actions? And which lighter and darker versions are used for surfaces, outlines, states and text? A Material Design color generator answers the third question automatically. You decide the hue, and the generator produces every supporting shade so your colors match in tone, feel and contrast.
Material Design has changed over the years, and two versions are still widely used. Material 2, also known as Material Design 2 or the classic Material palette, is built around fixed shade steps from 50 to 900. Material 3, also known as Material You, uses tonal palettes and color roles, and it supports dynamic color, where an interface adapts to a single seed color such as a wallpaper or a brand color. This tool supports both, because many real projects still use the classic shade names in CSS and component libraries while newer apps follow Material 3.
How to Use the Material Design Color Generator (Step by Step)
Creating a Material color palette online takes less than a minute. You do not need design experience, and you can try as many base colors as you like. Follow these simple steps to generate Material Design color shades and export them for your project.
-
Choose your base color: Click the color swatch to open the picker, type a HEX code such as #2196F3, or press Random base color to explore. Press the spacebar for a new random color at any time.
-
Select the palette type: Choose Material 2 for shades 50 to 900, or Material 3 for a tonal palette from tone 0 to tone 100.
-
Review the shades and contrast: Each row shows the shade or tone number, its HEX code and the contrast ratio of the best text color (black or white) on top of it.
-
Pick an export format and a name: Choose CSS, SCSS, Android, Flutter or JSON and type a color name such as primary, secondary or brand.
-
Copy your code: Click Copy code to copy the whole palette, or click any single row to copy just that HEX value.
The palette updates live as you change the color, so you can drag around the color picker and watch every shade respond. This makes it easy to compare several candidate brand colors side by side before you decide.
How Material 2 Color Shades (50 to 900) Are Generated
In the classic Material palette, every hue has ten steps. Shade 500 is the main, most recognisable version of the color. Shades 50 to 400 are progressively lighter, and shades 600 to 900 are progressively darker. This generator keeps your chosen color exactly as shade 500 and builds the other nine steps by mixing your color with white for the light shades and with black for the dark shades. This is the method most Material palette generators use, and it gives smooth, predictable steps that keep the same hue as your original color.
Material 2 shade scale and how each step is created
| Shade |
How it is created |
Typical use |
| 50 |
90% white mixed with your color |
Page backgrounds, subtle highlights, selected rows |
| 100 |
80% white mixed with your color |
Card tints, chips, light dividers |
| 200 |
60% white mixed with your color |
Hover backgrounds, dark theme primary |
| 300 |
40% white mixed with your color |
Borders, disabled accents, illustrations |
| 400 |
20% white mixed with your color |
Secondary icons, progress tracks |
| 500 |
Your base color, unchanged |
Primary buttons, app bars, main brand color |
| 600 |
12% black mixed with your color |
Button hover and focus states |
| 700 |
24% black mixed with your color |
Primary variant, status bars, pressed states |
| 800 |
36% black mixed with your color |
Strong headings, dark accents |
| 900 |
48% black mixed with your color |
Darkest text on light backgrounds, deep surfaces |
One thing worth knowing: the official Material 2 color palettes published by Google, such as Blue, Red and Teal, were hand-tuned by designers, and most of them also include four accent shades named A100, A200, A400 and A700. Those accent shades are chosen by hand and cannot be calculated from the base color alone, so this tool focuses on the main 50 to 900 scale. Your generated shades will look very similar in spirit to the official ones, but they will not match the published hex values exactly. For a custom brand color, that is exactly what you want: a consistent scale built around your own color.
How the Material 3 Tonal Palette Works (Tones 0 to 100)
Material 3 replaces fixed shade names with tones. A tone is a number from 0 to 100 that describes how light a color is: tone 0 is black, tone 100 is white, and every number in between is a step on that lightness scale. The key advantage is that tones are perceptual. Tone 50 of a blue and tone 50 of a yellow look equally light to the human eye, which is why color pairs built from tones keep predictable contrast no matter which hue you start from. A Material 3 color scheme generator uses this to create accessible combinations automatically.
This tool builds tonal palettes by keeping the hue and the color intensity of your base color and setting the lightness to each tone value, using the CIELAB lightness scale, which is the same scale that defines tone in Material 3. When a very light or very dark tone cannot display the full intensity of your color on a screen, the intensity is reduced just enough to stay inside the displayable range. The real Material 3 system, called HCT (hue, chroma, tone), uses a more advanced color model for hue and chroma. The result here is a close, practical approximation that works very well for design exploration and for most projects. If you need values that match the official Material Theme Builder to the last digit, use this generator to explore and then confirm your final palette in the official tool.
Common Material 3 color roles and the tones they use
| Color role |
Light theme |
Dark theme |
Used for |
| Primary |
Tone 40 |
Tone 80 |
Main buttons, active states, key components |
| On primary |
Tone 100 |
Tone 20 |
Text and icons placed on the primary color |
| Primary container |
Tone 90 |
Tone 30 |
Tonal buttons, selected chips, highlighted cards |
| On primary container |
Tone 10 |
Tone 90 |
Text and icons placed on the primary container |
| Surface (neutral) |
Tone 98 |
Tone 6 |
Page and sheet backgrounds |
| On surface (neutral) |
Tone 10 |
Tone 90 |
Body text and icons on surfaces |
The secondary, tertiary and error roles follow the same tone pattern as primary, each using its own tonal palette. Surface roles come from separate neutral palettes that use a very low color intensity. To build a complete scheme, generate one palette for your primary color, another for a secondary color, a third for a tertiary accent, and use the tone numbers in the table to assign each role. You can generate a neutral palette too by entering a nearly gray version of your brand color.
How to Choose a Good Primary Color for Your Material Palette
The base color you enter decides the personality of the whole palette, so it is worth choosing it with care. The best primary colors for Material palettes are usually clear, medium-lightness colors with a healthy amount of intensity, because they have room to become both lighter and darker in the scale. A base color that is almost white leaves no space for light shades, while a base color that is almost black leaves no space for dark ones, and in both cases several steps of the palette will look nearly identical.
Start from your brand color if you have one. If you are starting from scratch, think about the feeling you want to create. Blues and teals feel trustworthy and calm, which is why they are popular in finance, health and productivity apps. Greens suggest growth, nature and success. Reds, oranges and pinks feel energetic and are common in food, entertainment and shopping apps. Purples feel creative or premium. If you want ideas, use the random base color button and keep clicking until a color stands out, then fine-tune it in the HEX field.
- Avoid extremely light or extremely dark base colors: Pick a mid-tone color so both the light and dark ends of the scale have room.
- Think about your logo: Your primary color should sit comfortably next to your logo, photos and illustrations.
- Pair it with a secondary color: Generate a second palette from a related hue or a contrasting accent for secondary actions.
- Test in both themes: A color that looks great on a white background may need a lighter shade on a dark background.
- Keep your palette small: One primary, one secondary and a set of neutrals is usually enough for a clean interface.
Material Design Colors and Accessibility: Contrast Ratios Explained
A beautiful palette is only useful if people can read the text on it. Color contrast is the difference in brightness between text and the color behind it, and it is measured as a ratio from 1 to 1 (no contrast) up to 21 to 1 (black on white). The Web Content Accessibility Guidelines, known as WCAG, recommend a contrast ratio of at least 4.5 to 1 for normal text and at least 3 to 1 for large text and key interface components such as icons and input borders. Material Design follows the same principle and builds its color roles so that text and background pairs have a wide gap in lightness.
Every row in the generated palette shows the contrast ratio of the better text color, black or white, on that shade. Use it as a quick guide. A ratio of 4.5 or higher means normal text is comfortably readable on that shade. A ratio between 3 and 4.5 is fine for large headings, buttons with bold labels and icons, but not for small body text. A ratio below 3 means you should place only decorative elements on that shade, or choose a different step. The ratio shown is calculated for pure black or pure white text, so if you use a softer text color, check the exact pair in a dedicated contrast checker before you ship.
In Material 3, accessibility is built into the tone numbers. When a background uses tone 90 and text uses tone 10, the large distance between the two tones guarantees strong contrast, and the same idea works in dark theme when the numbers are reversed. This is one of the main reasons to build your palette from tones, because you can swap the hue without redoing the contrast checks for every pair.
Material Design Color Generator for Developers: CSS, SCSS, Android, Flutter and JSON
Developers use a Material color palette generator because it removes the tedious step of copying colors one at a time. Choose an export format and the tool prepares code that follows the conventions of that platform. You can rename the palette with the color name field, so the exported variables read like primary-500, secondary-200 or brand-700 instead of a generic label.
- CSS custom properties: Get a ready-made :root block with one variable per shade, such as --primary-500, ready for any website, web app or framework. Variables make it simple to build a dark mode by swapping which shades are used.
- SCSS map: Receive a Sass map that you can loop over with map-get or map.get, which is useful for generating utility classes and component themes.
- Android colors.xml: Copy color resources with names such as primary_500 into your Android project and reference them from themes and layouts.
- Flutter: Get a MaterialColor for Material 2 or a map of tones for Material 3 that you can use in your ThemeData or as a reference when working with a seed color.
- JSON: Use the plain object as design tokens, or as the starting point for a Tailwind CSS color scale or a Material UI theme palette.
If you use a library such as Angular Material, Material UI (MUI) or Material Components for Android, the shades you export are a convenient starting point for your custom theme. Most of these libraries expect a main color with a lighter and a darker variant, and the Material 2 scale makes that easy: use shade 500 as the main color, a lighter step such as 300 or 200 as the light variant and a darker step such as 700 as the dark variant. For Material 3 projects, use tone 40 and tone 80 as your light and dark primary colors and follow the role table above for the rest.
Material Design Color Palette for Designers: Figma, Sketch, Adobe XD and Canva
Designers work with color styles, and every design tool accepts HEX codes. Generate your palette here, click each row to copy its HEX value, and paste it into a new color style in Figma, Sketch, Adobe XD, Canva, Photoshop or Illustrator. Name your styles after the shade, for example Primary / 500, so your whole team sees the same structure in the design file as in the code. When designers and developers use the same shade names, handoff becomes smoother and there are fewer mistakes with similar-looking colors.
A useful workflow is to generate one palette for the primary color and one for the secondary color, then build a simple style guide page with the main shades next to each other. Check that your primary 500 and secondary 500 look good together, test how text looks on shade 50 and shade 900 backgrounds, and confirm that your error and success colors stay distinct from your brand colors. Because the generator updates live, you can adjust the base color until the combination feels right and then export the final values.
Common Uses: Why Use a Material Design Color Palette Generator?
A Material Design color generator is useful far beyond Android apps. Because the shade system is simple and widely understood, teams in many fields use it as a quick way to create a clean, balanced color scheme. Here are some of the most common uses.
- Mobile apps: Build an Android or Flutter app theme with a primary color, containers and surfaces that follow Material guidelines.
- Websites and web apps: Generate CSS variables for a landing page, dashboard, admin panel or SaaS product.
- Brand identity: Expand a single logo color into a full set of supporting shades for presentations, documents and social media.
- Charts and data visualization: Use the lighter and darker shades of one hue to show intensity in graphs, maps and heatmaps.
- Dark mode design: Pick lighter shades or high tones for dark backgrounds so colors stay readable and comfortable.
- Prototypes and school projects: Quickly create a believable color scheme for a prototype, a portfolio piece or a UI design assignment.
- Component libraries and design systems: Produce the color tokens that a design system needs, with consistent names and values.
Common Mistakes to Avoid When Building a Material Color Scheme
Even with a generator doing the hard work, a few habits can make a palette less effective. The most common mistake is using too many colors. Material Design works best when one primary color leads, one secondary color supports it, and everything else is neutral. When every button, card and icon has a different hue, users lose track of what is important. Another common mistake is using shade 500 for everything. The value of a palette comes from variety, so use light shades for large background areas, the base shade for key actions and dark shades for text and emphasis.
A third mistake is ignoring contrast. A pastel button with white text may look soft and modern, but it often fails the readability guidelines. Check the contrast ratio on each row before you assign a text color. Finally, remember to test your colors on real devices. Screens differ in brightness and color accuracy, and a color that looks perfect on a calibrated monitor can look washed out on a phone in sunlight. Test your final palette in the places your audience will actually see it.
Generate Material Design Colors on Any Device, No Software Needed
This online Material color generator runs in your web browser, so you can build a palette on Windows, Mac, Linux, Android and iPhone without installing an app, a plugin or a design tool. Whether you search for a Material Design color generator for mobile, a Material color palette generator for PC or a Material 3 theme color generator for Mac, the steps are the same in every modern browser. Open the page, choose your color, review the palette and copy the code. There is no account to create, no watermark and no limit on how many palettes you can generate.
Because the palette is calculated on your own device and not on a server, results appear instantly as you move the color picker, and the colors you choose are never uploaded or stored. Colors are not saved between visits, so copy the code you need before you close the page.
Free Material Design Color Generator Online: Fast, Accurate and Easy to Use
Our free Material Design color generator was built to make color work simple for designers, developers, students and business owners. If you want a Material color palette tool with no signup, no watermark, live preview, contrast ratios and export to CSS, SCSS, Android, Flutter and JSON, this page gives you exactly that. Choose a base color, pick Material 2 or Material 3, and copy your palette in seconds.
Material Design is a design system created by Google. This tool is an independent color utility and is not affiliated with or endorsed by Google. Ready to try it? Scroll back up, pick a color and see your palette appear. If you also need random colors or other everyday file and design utilities, explore the other free tools on our site.