How Color Palette works
Enter a color in HEX, RGB, HSL, or by name to see all format conversions at once. Check WCAG contrast ratios and explore complementary color harmonies.
Converts between color models using mathematical formulas and calculates contrast ratios with the WCAG 2.0 relative luminance algorithm.
Questions
- Which color formats are supported?
- HEX (3-digit and 6-digit), RGB, HSL, and over 30 named CSS colors like red, coral, and navy.
- How does the contrast checker work?
- Enter a second color and the tool calculates the contrast ratio using the WCAG 2.0 formula, then shows whether the pair passes AA and AAA thresholds.
- What are color harmonies?
- The tool generates complementary, analogous, triadic, and split-complementary colors by rotating the hue in the HSL color space.
- Is my data sent to a server?
- No. All color calculations run entirely in your browser. Nothing is uploaded.
More Generate tools
- QR CodeURL, text, or contact card
- ShareX Config BuilderGenerate a .sxcu custom uploader
- Regex TesterLive match highlighting
- Cron BuilderHuman-readable schedules
- Lorem IpsumParagraphs, sentences, words
- Aspect RatioCalculate and convert aspect ratios
- Markdown TableVisual editor for markdown tables
- Placeholder ImageCustom placeholder images for mockups
- Meta Tag PreviewerSee how links unfurl across platforms
- Contrast CheckerWCAG AA and AAA contrast ratio
- Favicon GeneratorEmoji, text, or image favicons
- Secret GeneratorRandom keys and passwords
- Theme TokensThis site's color roles, live
- UUID GeneratorBulk v4 and v7 UUIDs
- Date CalculatorDays between dates, date math, time zones
- Chmod CalculatorUnix permissions: octal, symbolic, command