Skip to content
100% Privacy — Files Stay On Your Device
>_
English

Color Picker & Palette Generator

Pick a color, generate a palette, and check contrast — all in your browser.

Color picker

Color formats

Copy the selected color in any format. CMYK is a simple conversion, not ICC color-managed.

  • HEX#3B82F6
  • RGBrgb(59, 130, 246)
  • HSLhsl(217, 91%, 60%)
  • HSBhsb(217, 76%, 96%)
  • HWBhwb(217 23% 4%)
  • CMYKcmyk(76%, 47%, 0%, 4%)
  • OKLaboklab(62.31% -0.0332 -0.1851)
  • OKLCHoklch(62.31% 0.188 259.81)
Color harmony

Pick a color from an image

Upload a photo or screenshot, then click any point to read its exact color. The image stays on your device.

or drop an image here, or paste one with Ctrl+V

Picked colors

Click the image to pick a color. Picked colors appear here.

How do color harmony and contrast work?

Every color on screen can be described three different ways, and this tool keeps them all in sync: HEX is the shorthand used in CSS and design tools, RGB describes how much red, green, and blue light combine to produce the color, and HSL — hue, saturation, lightness — describes it the way a person actually thinks about color: what shade it is, how vivid, and how light or dark. Drag the native color swatch, type a HEX code, or adjust any R/G/B or H/S/L field directly, and every other field updates instantly, so you can move between however you're used to thinking about color without doing the math yourself.

The color wheel is the basis for six classic harmony rules, all generated automatically from whatever base color you pick. Complementary pairs a color with its opposite for maximum contrast; analogous picks neighbors on the wheel for a calm, cohesive look; triadic and tetradic space three or four colors evenly around the wheel for a lively but still balanced palette; split-complementary softens a complementary pair by using the two colors next to the opposite instead of the opposite itself; and monochromatic sticks to a single hue while varying only lightness, often the safest choice for a UI that needs one consistent brand color at several shades.

Not every good palette starts from color theory — sometimes you just want to see what turns up. The random palette generator (press spacebar, or click Generate) produces five colors at once with hues and lightness tuned to avoid muddy or overly pastel results. Click the lock icon on any swatch you want to keep, then generate again: only the unlocked colors change, so you can build a palette incrementally the same way tools like Coolors work. Click any swatch to copy its HEX code, or use the buttons below the palette to copy the whole set as CSS custom properties, SCSS variables, a Tailwind config snippet or a JSON array, or export an Adobe .ase swatch file for Illustrator and Photoshop. You can also extract a palette from any image (processed locally, never uploaded) and save palettes you like in your browser for later.

Picking a nice-looking color isn't the same as picking a usable one — text set in a color too close in lightness to its background can be unreadable, and the Web Content Accessibility Guidelines (WCAG) set specific thresholds for this: a contrast ratio of at least 4.5:1 for normal text to pass level AA, and 7:1 to pass the stricter level AAA. The contrast checker computes the exact ratio between your chosen color and both white and black text using the same relative-luminance formula the WCAG spec defines, and flags whether each combination passes, so you can catch a low-contrast button or heading before it ships instead of after.

Frequently asked questions

Can I generate a color palette from a base color automatically?

Yes — pick a harmony type (complementary, analogous, triadic, and more) and matching colors are generated instantly.

Does it check color contrast for accessibility?

Yes — a built-in contrast checker shows the WCAG AA/AAA pass/fail ratio against white and black.

Can I export a palette to use in code?

Yes — copy any palette as CSS custom properties, SCSS variables, a Tailwind config snippet or a JSON array of hex codes, or export it as an Adobe .ase swatch file. You can also extract a palette from an image and save palettes in your browser.

Related tools