Color Palette Generator

Generate harmonious color palettes

Shades & Tints
Contrast Accessibility Checker

Pick any two palette colors to check WCAG contrast compliance.

#ffffff
#0a0a0b
Large Text
Normal body text sample for readability.
Contrast Ratio
--
AA Normal: -- AA Large: -- AAA Normal: -- AAA Large: --
Export Palette

Understanding Color Harmonies

Color harmony is the practice of combining colors using geometric relationships on the color wheel. Each harmony type produces a different visual effect. This tool uses the HSL color model (hue, saturation, lightness) to calculate palette colors from your base hue.

Harmony Types

  • Complementary: Colors opposite on the color wheel (180 apart). Produces high contrast and a vibrant look. Example: teal and red-pink.
  • Analogous: Colors adjacent on the wheel (within 30 of each other). Produces a harmonious, soothing feel. Example: teal, cyan, and green.
  • Triadic: Three colors equally spaced at 120 intervals. Balanced and colorful. Example: teal, orange, and purple.
  • Split-Complementary: Base color plus the two colors flanking its complement (150 and 210). Strong contrast with less tension than complementary.
  • Monochromatic: One hue at different lightness and saturation levels. Cohesive, elegant, and easy to get right.

Worked Examples

1. Complementary scheme from teal.
Base: #00d4aa (hue 168). Complement: 168 + 180 = 348 -> #d4002a. The palette adds light and dark variants of both. Use the teal as background, the red-pink as accent for buttons or alerts.

2. Analogous scheme for a calming dashboard.
Base: #3b82f6 (blue, hue 217). Neighbors at 187, 202, 232, 247 produce a range of blue-cyan-indigo tones. Apply the lightest as background, medium as panel borders, darkest as headings.

3. Triadic scheme for an illustration.
Base: #f59e0b (amber, hue 38). Triadic partners at 158 and 278 give a teal-green and a purple. Use amber as dominant fill, teal for secondary elements, purple for highlights.

The 60-30-10 Rule

A widely used guideline for applying a palette: use the dominant color for 60% of the design (background, large areas), the secondary color for 30% (panels, cards, navigation), and the accent for 10% (buttons, links, icons). This creates visual hierarchy without overwhelming the viewer.

Hex, RGB, and HSL Explained

Hex is a compact notation: #RRGGBB where each pair is a value from 00 to FF. RGB specifies red, green, blue channels from 0 to 255. HSL specifies hue (0-360), saturation (0-100%), and lightness (0-100%). HSL is often easier to reason about because you can shift the hue to get a new color while keeping saturation and lightness constant -- which is exactly how this tool calculates harmony palettes.

Frequently Asked Questions

Privacy

All color calculations run locally in your browser using JavaScript. No colors, palettes, or preferences are sent to a server. Nothing is stored or logged. There is no account, no tracking, and no cookies. Refreshing the page resets the tool to its default state.

Related Tools

Related Tools

View all tools
Request a New Tool
Improve This Tool