Free tool

Tint and shade generator

Make lighter and darker versions of any color. Get tints, shades and tones with HEX codes, a contrast check on every step, a two color mixer and code for CSS or Tailwind. Free, no account.

Type or paste a color: #1F6F8B, rgb(31, 111, 139), hsl(196, 64%, 34%) or a name like tomato.

Steps look

Mixed in OKLCH, so each step looks about as far from the last as the one before, and the color stays the same color.

Tints: your color mixed with white. The last step is white.

  1. AaAa#418099White 4.40 fails AABlack 4.77 AA passes AA
  2. AaAa#5D92A7White 3.42 fails AABlack 6.13 AA passes AA
  3. AaAa#78A3B6White 2.72 fails AABlack 7.71 AA passes AA
  4. AaAa#93B5C4White 2.17 fails AABlack 9.64 AA passes AA
  5. AaAa#AEC7D3White 1.76 fails AABlack 11.90 AA passes AA
  6. AaAa#C8DAE1White 1.44 fails AABlack 14.57 AA passes AA
  7. AaAa#E4ECF0White 1.19 fails AABlack 17.55 AA passes AA
  8. AaAa#FFFFFFWhite 1.00 fails AABlack 21.00 AA passes AA
  1. AaAa#185C73White 7.45 AA passes AABlack 2.81 fails AA
  2. AaAa#11495DWhite 9.83 AA passes AABlack 2.13 fails AA
  3. AaAa#0B3747White 12.71 AA passes AABlack 1.65 fails AA
  4. AaAa#062732White 15.62 AA passes AABlack 1.34 fails AA
  5. AaAa#02171FWhite 18.34 AA passes AABlack 1.14 fails AA
  6. AaAa#01080DWhite 20.15 AA passes AABlack 1.04 fails AA
  7. AaAa#000102White 20.89 AA passes AABlack 1.00 fails AA
  8. AaAa#000000White 21.00 AA passes AABlack 1.00 fails AA
  1. AaAa#32718AWhite 5.43 AA passes AABlack 3.86 fails AA
  2. AaAa#407489White 5.15 AA passes AABlack 4.07 fails AA
  3. AaAa#4C7687White 4.94 AA passes AABlack 4.24 fails AA
  4. AaAa#587886White 4.72 AA passes AABlack 4.44 fails AA
  5. AaAa#627A85White 4.52 AA passes AABlack 4.64 AA passes AA
  6. AaAa#6D7C83White 4.32 fails AABlack 4.86 AA passes AA
  7. AaAa#767E82White 4.13 fails AABlack 5.07 AA passes AA
  8. AaAa#808080White 3.94 fails AABlack 5.31 AA passes AA

White and Black show how readable that text is on the step. AA means easy to read: 4.5 to 1 or more.

Mix two colors

50% A, 50% B

The mix

#40AB76

Copy as code

Format

:root {
  --brand-base: #1f6f8b;
  --brand-tint-1: #418099;
  --brand-tint-2: #5d92a7;
  --brand-tint-3: #78a3b6;
  --brand-tint-4: #93b5c4;
  --brand-tint-5: #aec7d3;
  --brand-tint-6: #c8dae1;
  --brand-tint-7: #e4ecf0;
  --brand-tint-8: #ffffff;
  --brand-shade-1: #185c73;
  --brand-shade-2: #11495d;
  --brand-shade-3: #0b3747;
  --brand-shade-4: #062732;
  --brand-shade-5: #02171f;
  --brand-shade-6: #01080d;
  --brand-shade-7: #000102;
  --brand-shade-8: #000000;
  --brand-tone-1: #32718a;
  --brand-tone-2: #407489;
  --brand-tone-3: #4c7687;
  --brand-tone-4: #587886;
  --brand-tone-5: #627a85;
  --brand-tone-6: #6d7c83;
  --brand-tone-7: #767e82;
  --brand-tone-8: #808080;
}

Runs in your browser. Nothing you type is sent to Postfjord or saved.

Your Reel cover is in your brand blue. Now the Story needs a soft blue for the background and a deep blue for the text. Guess in a color picker and you get blues that do not belong together. Type your color here and get lighter and darker versions that do.

How to use the tint and shade generator

  1. Type or paste your color in the big field. A HEX code like #1F6F8B works, and so do rgb(31, 111, 139) and names like tomato. You can also tap the swatch, use Paste, or pick a color from a picture with From a picture.
  2. Choose how many steps each scale gets. Eight is a good start.
  3. Look at the strip. It runs from your lightest tint to your darkest shade, with your own color marked in the middle.
  4. Open Tints, Shades or Tones and press Copy next to a step. Copy this scale takes the whole list.
  5. Need a color halfway between two? Open Mix two colors. Need code? Open Copy as code for CSS variables, a Tailwind config, JSON or a plain list.

Copy link to this ramp gives a link that opens the generator with your color, steps and method, so a designer sees what you see.

Tints, shades and tones

People mix up these words, so here they are in plain terms. A tint is your color with white added. A shade is your color with black added. A tone is your color with gray added, which makes it calmer and less bright. All three keep the same basic color. Only the light and dark of it changes.

Why a plain mix looks wrong

Most tools mix the red, green and blue numbers straight toward white or black. It is simple, but the steps are not even. In our tests with a blue, a yellow, a red and a purple, the biggest jump between two shades was between two and a half and three and a half times the smallest. The dark end bunches up into a few steps that look the same, and then one step jumps. The color can also drift: a blue turns toward purple as it gets lighter.

The default here mixes in OKLCH, a color model made so that equal steps look equal to the eye. In the same tests the biggest jump was never more than one and a quarter times the smallest, and the color stayed the same color. If you want the plain mix, such as to match what another tool gave you, choose Classic mix.

What the generator does and does not do

Each scale takes your number of steps and goes from your color to the end color: white for tints, black for shades and mid gray (#808080) for tones. The last step is always that end color, so a scale of eight tints ends on white. Each step is a fixed fraction of the way there. Every result is rounded to whole red, green and blue numbers, as screens use them.

Next to each step, White and Black show the contrast ratio of that text on the step. AA means the ratio is at least 4.5 to 1, the level WCAG 2.2 asks for body text. Large text needs 3 to 1, so a step marked without AA can still work for a big headline. For text on a color you pick yourself, use the contrast checker.

It does not name your steps for you or pick which ones to use. It does not make print-ready colors, since ink cannot show every screen color. And it does not keep or send anything. Your colors and pictures stay in your browser. When you change a color, the address holds the color, the step count and the method, and nothing else.

On social media

Tints and shades are how a feed looks like one brand. Use a very light tint as the background of a carousel, your main color for headlines and a deep shade for body text. Nine posts in a row on your profile grid then look planned, whether you post on Instagram, TikTok, LinkedIn, Facebook, Pinterest, X or YouTube.

Two checks help on a phone. First, read the contrast ratios: text on a Story or a Pin is often read in sunlight, so aim for AA. Second, most of these apps have a dark mode. A very light tint that looks calm on white can glare in a dark feed, so look at both. Platforms do not limit your colors. Keep the same HEX codes in every tool, and your posts match. Postfjord's design editor holds your brand colors once, so every template uses them.

The color code pages show lighter and darker steps of gold, navy blue, sage green and more.

FAQ

What is the difference between a tint and a shade?

A tint is a color mixed with white, so it is lighter. A shade is a color mixed with black, so it is darker. A tone is a color mixed with gray.

How do I make a lighter or darker version of a color?

Type your color into the generator and copy a step from Tints for lighter or Shades for darker. Step one is close to your color, and later steps go further toward white or black.

Why does the last step always end on white, black or gray?

Each scale mixes your color toward an end color, and the last step is that end color itself. If you want to stop earlier, use fewer steps and copy the ones you need.

Why do some tints and shades look muddy?

A plain mix of red, green and blue numbers moves the brightness unevenly and can shift the color. The default here mixes in OKLCH, which keeps steps even and the color steady. You can switch to the classic mix to compare.

How is the two color mixer different from the tints and shades?

The scales mix one color toward white, black or gray. The mixer blends any two colors you choose, with a slider for how much of each. It uses the same method as the scales, so the Steps look choice changes it too.

Can I use these colors in CSS or Tailwind?

Yes. Open Copy as code, pick CSS variables or Tailwind, give the set a name and copy or download it. The steps are named base, tint-1, shade-1, tone-1 and so on, with 1 closest to your color.

More free tools

All 101 tools

Keep your brand colors in every post

In Postfjord's design editor, add your brand colors once under Settings, Brand kit, and every template can use them. Try it free.

Start free