Color & Typography
Color theory, the psychology of color, building palettes, accessible contrast. Typography: font pairing, hierarchy, readability, and the serif vs sans-serif debate — answered.
In 2016, Instagram changed a single color — and 400 million people lost their minds.
Instagram's original logo was a retro brown camera icon that looked like it belonged in a 1970s thrift shop. In May 2016, they replaced it with a gradient of sunset purples, pinks, and oranges — a flat, modern glyph that barely resembled a camera anymore.
Twitter exploded with fury. "Bring back the old logo" trended for days. Design blogs declared it a disaster. Memes mocked the gradient as "a child's crayon experiment."
Six months later, nobody was complaining. The new gradient had become one of the most instantly recognizable color schemes on the planet. Instagram's head of design, Ian Spalter, later explained the thinking: the old brown felt nostalgic but dated. The sunset gradient captured the warmth, creativity, and energy the app had evolved into — and the vibrant colors performed significantly better on mobile screens where icons compete for tap-attention at just 60x60 pixels.
Color isn't decoration. It's the first thing people notice, the last thing they forget, and the fastest way to communicate emotion without saying a word.
The color wheel: your visual cheat sheet
Every color relationship starts with the color wheel — a circular arrangement of 12 colors based on how they mix.
| Color type | What it means | Examples |
|---|---|---|
| Primary | Can't be made by mixing other colors | Red, Blue, Yellow |
| Secondary | Made by mixing two primaries | Orange, Green, Purple |
| Tertiary | Made by mixing a primary and secondary | Red-orange, Blue-green, Yellow-green |
Color relationships that always work
Complementary — Colors opposite each other on the wheel (blue + orange, red + green). High contrast, high energy. Great for CTAs and emphasis.
Analogous — Colors next to each other on the wheel (blue, blue-green, green). Harmonious and calming. Great for backgrounds and cohesive palettes.
Triadic — Three colors equally spaced on the wheel (red, yellow, blue). Vibrant and balanced. Great for playful brands like children's products.
Split complementary — A color plus the two neighbors of its complement (blue + yellow-orange + red-orange). Bold but more nuanced than straight complementary.
Monochromatic — One hue in different shades and tints (navy, royal blue, sky blue, baby blue). Elegant and safe. Almost impossible to get wrong.
The psychology of color: what colors make people feel
Color psychology isn't exact science — culture, context, and personal experience all matter. But broad patterns are well-documented and widely used in branding:
| Color | Common associations | Brands that use it |
|---|---|---|
| Red | Urgency, passion, energy, appetite | Coca-Cola, YouTube, Netflix |
| Blue | Trust, stability, professionalism, calm | Facebook, LinkedIn, PayPal, IBM |
| Green | Growth, health, nature, money | Spotify, Whole Foods, Robinhood |
| Yellow | Optimism, warmth, attention, caution | McDonald's, Snapchat, IKEA |
| Purple | Luxury, creativity, wisdom, royalty | Cadbury, Hallmark, Twitch |
| Orange | Friendly, energetic, affordable, fun | Fanta, HubSpot, Etsy |
| Black | Sophistication, luxury, power, elegance | Chanel, Nike, Apple |
| White | Clean, minimal, modern, pure | Apple, Tesla, Glossier |
Most common brand primary colors among Fortune 500 companies (%)
There Are No Dumb Questions
"Does color psychology actually work, or is it just marketing nonsense?"
The truth is somewhere in between. Studies consistently show that color affects mood and perception, but the effects are contextual. Blue doesn't automatically create trust — it creates trust when combined with clean design, professional typography, and credible content. Color amplifies the message; it can't replace it. Think of color as an accent to your brand's personality, not the entire personality.
"My brand color is already chosen. Does it matter?"
Yes — because you still need to build a full palette around it. One brand color isn't enough. You need supporting colors for backgrounds, text, accents, success states, error states, and more. The color wheel relationships above are how you expand one color into a complete system.
Building a color palette from scratch
Here's the practical workflow professionals use:
Step 1: Start with one color. Pick the color that best represents your brand's personality. This is your primary color.
Step 2: Add a neutral. Almost-black for text (like #1a1a2e) and almost-white for backgrounds (like #fafafa). Pure black (#000) and pure white (#fff) are too harsh for most designs.
Step 3: Choose 1-2 supporting colors using a color wheel relationship. Analogous for calm brands, complementary for energetic ones.
Step 4: Generate shades and tints. Each color needs 5-9 steps from light to dark (50, 100, 200... 900). Tools like Tailwind's color system or Coolors.co do this automatically.
Step 5: Test for accessibility. Every text-background combination must pass WCAG contrast requirements. No exceptions.
Free palette tools:
| Tool | Best for |
|---|---|
| Coolors.co | Generating random harmonious palettes with one click |
| Adobe Color | Building palettes from color wheel rules |
| Realtime Colors | Previewing your palette on a real website layout |
| Contrast Checker (WebAIM) | Testing text/background accessibility |
| Tailwind CSS Colors | Pre-built shade scales for web design |
Build a Brand Palette
25 XPColor accessibility: designs that everyone can see
Roughly 300 million people worldwide have color vision deficiency (commonly called "color blindness"). Another large population browses on low-contrast screens, in bright sunlight, or with aging eyes. Accessible color isn't optional — it's professional.
✗ Without AI
- ✗Light gray text on white background
- ✗Red and green as only differentiators
- ✗Low contrast buttons (light blue on medium blue)
- ✗No consideration for color blindness
✓ With AI
- ✓Dark text on light backgrounds (4.5:1 contrast ratio minimum)
- ✓Color PLUS icons, patterns, or labels to differentiate
- ✓High contrast buttons (dark text on light fill, or white text on dark fill)
- ✓Tested with color blindness simulators
WCAG contrast requirements:
| Text size | Minimum contrast ratio (AA) | Enhanced (AAA) |
|---|---|---|
| Body text (under 18px) | 4.5:1 | 7:1 |
| Large text (18px+ bold or 24px+) | 3:1 | 4.5:1 |
| UI components and graphics | 3:1 | N/A |
Typography: the design element hiding in plain sight
Typography is the art and technique of arranging type to make text readable, legible, and visually appealing. It accounts for roughly 95% of web design — because most of the web is text.
Serif vs. sans-serif: the eternal debate
| Feature | Serif | Sans-serif |
|---|---|---|
| Defining trait | Small strokes ("feet") at the ends of letters | No strokes — clean, bare letter forms |
| Personality | Traditional, authoritative, literary | Modern, clean, approachable |
| Best for | Long-form print, books, newspapers, editorial | Screens, UI, mobile, headlines |
| Examples | Times New Roman, Georgia, Garamond, Playfair Display | Helvetica, Inter, Open Sans, Montserrat |
| Brands that use it | The New York Times, Vogue, Tiffany & Co. | Google, Apple, Spotify, Airbnb |
The truth: both work everywhere if used well. The "serifs are for print, sans-serifs are for screens" rule was based on low-resolution displays from the 1990s. Modern screens render serifs beautifully. Choose based on personality, not medium.
Font pairing: the art of combining typefaces
The rules are simple:
Rule 1: Use 2 fonts maximum. One for headings, one for body text. Three fonts if you need a distinct accent (code blocks, quotes). More than that creates visual chaos.
Rule 2: Contrast, don't conflict. Pair a serif heading with a sans-serif body, or a bold display font with a light readable body. Two similar fonts (two sans-serifs with slight differences) look like a mistake.
Rule 3: Match the x-height. Fonts with similar x-heights (the height of lowercase letters) feel harmonious even if their styles differ.
Rule 4: Steal from the pros. Google Fonts has a "pairings" section. Fontpair.co shows proven combinations. Don't reinvent the wheel.
Proven font pairings that always work:
| Heading font | Body font | Vibe |
|---|---|---|
| Playfair Display (serif) | Source Sans Pro (sans) | Editorial, elegant |
| Montserrat (sans) | Merriweather (serif) | Modern, readable |
| Oswald (condensed sans) | Lato (sans) | Bold, contemporary |
| Lora (serif) | Open Sans (sans) | Warm, approachable |
| Inter (sans) | Inter (sans) | Clean, technical (one font, different weights) |
There Are No Dumb Questions
"Can I just use one font for everything?"
Absolutely. Inter, Source Sans Pro, or any well-designed font family with multiple weights (Regular, Medium, Semibold, Bold) gives you all the hierarchy you need. One font with varied weights is better than three fonts that don't harmonize. Apple's entire interface uses San Francisco. Google uses Roboto. Both look great.
"Are free Google Fonts actually good enough for professional work?"
Yes. Inter, Lato, Open Sans, Merriweather, Playfair Display, and Montserrat are used by companies worth billions. The quality of free fonts has skyrocketed. The premium fonts from Fontshare and Type Network are also free and excellent.
Typographic hierarchy: making text scannable
Typographic hierarchy uses size, weight, color, and spacing to signal importance:
| Level | Typical use | Size guideline | Weight |
|---|---|---|---|
| H1 | Page title | 32-48px | Bold or Extra Bold |
| H2 | Section headings | 24-32px | Bold |
| H3 | Subsection headings | 20-24px | Semibold |
| Body | Paragraph text | 16-18px | Regular |
| Caption | Labels, footnotes | 12-14px | Regular or Light |
The golden rules of readable text:
| Rule | Why it matters |
|---|---|
| Line length: 50-75 characters per line | Too wide and eyes lose their place. Too narrow and reading feels choppy. |
| Line height: 1.5-1.75x the font size | Tight line spacing makes paragraphs look like a wall of text. |
| Paragraph spacing: at least 1em | Distinct paragraphs are scannable. No spacing creates a monolith. |
| Left-aligned body text | Justified text creates uneven word spacing. Centered body text is hard to scan. |
Font Pairing Challenge
25 XPColor + Type Audit of a Real Brand
50 XPThe color-typography connection
Color and typography aren't separate systems — they reinforce each other:
- Heading color should be darker / bolder than body text color. This reinforces the size hierarchy with a color hierarchy.
- Link colors need to be distinct from body text AND pass contrast requirements. Blue (#0066CC or similar) remains the safest default because 30 years of web convention have trained people to expect it.
- Background tints can separate sections without borders. A subtle warm gray (#f7f5f2) behind a testimonial section separates it from the white body without adding visual clutter.
Key takeaways
- The 60-30-10 rule creates balanced color compositions: 60% dominant, 30% secondary, 10% accent.
- Color psychology is directional, not absolute — blue tends toward trust, red toward urgency, but context and design quality matter more than color alone.
- Accessibility is non-negotiable: 4.5:1 contrast ratio for body text, 3:1 for large text. Never use color alone to convey meaning.
- Two fonts maximum for most designs. One for headings, one for body. Contrast their styles (serif + sans) or use one font family with varied weights.
- Typographic hierarchy is built with size, weight, and color. H1 should be 2-3x the body text size with a heavier weight.
- Line length (50-75 characters) and line height (1.5-1.75x) are the most impactful readability settings most people ignore.
Knowledge Check
1.You're building a color palette for a health and wellness brand. You've chosen green (#22c55e) as the primary color. Using the 60-30-10 rule, which statement best describes how to apply it?
2.A designer uses light gray text (#999999) on a white background (#FFFFFF) for body text, which has a contrast ratio of 2.85:1. Why is this a problem, and what's the minimum fix?
3.A startup's website uses five different fonts: a decorative script for the logo, a serif for headings, a sans-serif for body text, a different sans-serif for navigation, and a monospace for code. What's the main design problem?
4.Instagram replaced its brown retro camera logo with a purple-pink-orange gradient in 2016. Despite initial backlash, it became iconic. What color principle best explains why the gradient works?