Skip to content
MySafeToolbox

Free Color Tools

Generate color palettes and CSS gradients, check WCAG contrast and convert HEX, RGB, HSL and OKLCH. Free color tools for designers and developers.

  • No upload — 100% private
  • Instant, on your device
  • Free, no sign-up
  • Works offline once loaded

All 5 color tools

Overview

From first palette to production CSS

Picking colours is easy; picking colours that work together, read clearly and translate cleanly into code takes more effort. The palette generator gives you five harmonious colours at the press of the space bar, lets you lock the ones you want to keep, and exports the result for your project.

Accessibility is where many designs fail quietly. The contrast checker tests text and background pairs against WCAG AA and AAA and can fix a failing colour in one click, which saves guesswork when a brand colour is too light for body text.

For the final step, the gradient and box-shadow generators let you design visually and copy ready CSS, and the converter translates any colour between HEX, RGB, HSL, HSV, CMYK and OKLCH.

Quick guide

Which tool do I need?

FAQ

Frequently asked questions

What contrast ratio do I need for WCAG?

Level AA requires 4.5:1 for normal text and 3:1 for large text (about 24 px, or 19 px bold). Level AAA raises those to 7:1 and 4.5:1. Interface parts like borders and icons need 3:1.

Why use OKLCH instead of HSL?

OKLCH is designed so equal steps look equally different to the eye. A yellow and a blue at the same HSL lightness look very different in brightness; in OKLCH they match, which makes consistent colour scales easier to build.

Which values should I send to a printer?

Printers work in CMYK. The converter gives a straightforward CMYK conversion, but exact print colour depends on paper and ink profiles, so ask your printer for a proof if accuracy matters.

Can I use the generated palettes commercially?

Yes. Colour combinations are not owned by anyone, and everything you create here is yours to use in client work, products and brands.

Can I export a palette for Tailwind or my code?

Yes. The palette generator exports CSS variables, a Tailwind config, JSON or a PNG swatch image, so the colours you settle on can go straight into a stylesheet or a design handoff.