Build your palette
- Primary: your main brand color, usually pulled from your logo. Used for headers, key sections, and buttons.
- Accent: a contrasting color for things you want noticed: buttons, links, highlights. Use it sparingly so it keeps its punch.
- Neutrals: a dark color for text (rarely pure black, which can feel harsh) and a light background color.
A simple balance is the 60-30-10 rule: about 60% neutral background, 30% primary, and 10% accent. Write down every color's hex code (like #1F3A5F) so it's identical on your website, social graphics, and printed materials.
Never rely on color alone to communicate something. Underline links in paragraphs, and show form errors with words, not just red borders. About 1 in 12 men has some form of color blindness.
Example palettes
Each palette below lists real contrast ratios for common pairings, calculated with the WCAG formula. Notice that some attractive pairings fail. Those colors still work for backgrounds and decoration, just not for text.
- AaInk text on Sand: 14.6:1Passes for all text
- AaWhite text on Navy button: 11.5:1Passes for all text
- AaSea links on Sand: 3.8:1Large text only
- AaEspresso text on Cream: 14.9:1Passes for all text
- AaWhite text on Cocoa button: 8.3:1Passes for all text
- AaHoney text on Cream: 2.0:1Fails: decoration only
- AaCharcoal text on Mist: 14.1:1Passes for all text
- AaWhite text on Forest button: 6.3:1Passes for all text
- AaForest text on Sage: 3.9:1Large text only
- AaNight text on White: 17.1:1Passes for all text
- AaWhite text on Plum button: 9.9:1Passes for all text
- AaWhite text on Coral button: 3.2:1Large text only
Check contrast before you commit
WCAG 2.1 AA, the accessibility standard most US websites are measured against, requires:
| What | Minimum |
|---|---|
| Normal text (paragraphs, links, labels) | 4.5:1 |
| Large text (24 px, or about 19 px bold) | 3:1 |
| Buttons, icons, form field borders, focus outlines | 3:1 against what's next to them |
- Open a contrast checker (listed below) and paste in your text color and background color hex codes.
- Check every pairing you'll actually use: body text, links, button text, and text on photos.
- If a pair fails, darken the text color or lighten the background slightly. Small tweaks usually fix it while keeping the same look.
The Tab-key test: check your site without a mouse
Many people navigate the web with a keyboard instead of a mouse, including people with motor disabilities and screen reader users. This five-minute test catches some of the most common accessibility problems, and your colors matter here, because the focus outline has to be easy to see.
How to run it
- Open your website and click once in the browser's address bar.
- Press Tab repeatedly. Each press should move to the next link, button, or form field.
- Press Shift + Tab to move backward, Enter to follow a link or press a button, Space to tick a checkbox, and Escape to close a menu or pop-up.
Using Safari on a Mac? Tab skips links by default. Turn on Safari Settings → Advanced → “Press Tab to highlight each item on a webpage” first, or test in Chrome, Edge, or Firefox.
What to check
- You can always see where you are. Every focused item gets a clear outline or highlight that contrasts at least 3:1 with the background.
- The order makes sense: top to bottom, left to right, matching how the page reads.
- Everything works: you can open the menu, use every form field, submit forms, and close pop-ups with only the keyboard.
- You never get stuck. Focus doesn't get trapped inside a widget or video with no way out.
- A “Skip to main content” link appears on the first Tab press, so keyboard users can jump past the menu. Many builders include one; check that yours does.
Free tools
- WebAIM Contrast Checker
The standard tool. Paste two hex codes and see if they pass WCAG AA and AAA.
- Coolors Contrast Checker
Checks a color pair and suggests the closest passing shade if it fails.
- Adobe Color Accessibility Tools
Checks a whole palette, including how it looks to people with different types of color blindness.
- Who Can Use
Shows how a color pair reads for people with different vision conditions.
- Coolors Palette Generator
Generates and saves palettes, with hex codes ready to copy.
Next, pair your colors with readable fonts: Pick your fonts
Your checklist for this step
0 of 4 done
Your progress is saved in this browser only.
Frequently asked questions
How many colors should a small business website use?
Three to five: one primary brand color, one accent for buttons and highlights, and two neutrals for text and backgrounds. A common rule of thumb is 60% background neutral, 30% primary, and 10% accent.
What color contrast ratio do I need for accessibility?
WCAG 2.1 AA requires a contrast ratio of at least 4.5:1 for normal text, and 3:1 for large text (about 24 pixels, or 19 pixels bold) and for icons, buttons, and form borders. Black on white is 21:1; light gray on white often fails.
How do I check my website with the Tab key?
Click your browser's address bar, then press Tab repeatedly. Every link, button, and form field should get a clearly visible outline, in a logical order from top to bottom. Shift+Tab should move backward, Enter should activate links and buttons, and Escape should close menus and pop-ups.
Want a second pair of eyes, or a hand?
Built it yourself?
DIY Site Review $129
A recorded video walkthrough of your site with a prioritized fix list, delivered within 5 business days.
Book a Site ReviewRather have it done for you?
Brand Launch Kit $499
Custom logo, brand colors and fonts, social banners, and business cards, designed for you. Or get the whole website built from $799.
See the Brand Launch Kit See website packagesOn a tight budget?
Sponsored Builds
If you're between jobs or re-entering the workforce, Scarlet sets aside time every month for flexible, sponsored website builds.
Learn about Sponsored Builds