Download a video

DESIGN · 4 MIN READ

Color Palette Harmony, Text Contrast and SVG Export: A Practical Workflow

A palette can look balanced while making small text hard to read. Treat color harmony, text contrast and asset export as separate decisions. Start with a base color, test the actual foreground/background combinations, then export the format your project needs.

Hands holding a colorful fan of swatches on a gray backdrop, ideal for design themes
Photo by Tima Miroshnichenko on Pexels. View original photograph.

Choose a harmony for the job

Analogous colors stay close to the base hue. Complementary colors introduce its opposite. Triadic and tetradic schemes spread accents around the hue circle; split complementary uses the two neighbors of the opposite hue. Monochromatic keeps the hue while changing lightness.

The palette tool offers all six choices and generates five swatches. Enter a three- or six-digit hex value, choose a harmony and inspect the resulting hex and HSL values. Gray inputs have no saturation, so rotating their hue can produce repeated colors. Black and white endpoints can also repeat after lightness clamping.

Read contrast before choosing text colors

Each swatch shows contrast against black and white. Normal-text AA requires at least 4.5:1; large-text AA requires 3:1. Classifications use the unrounded calculation even though the visible ratio uses two decimal places.

For example, #777777 on white has about 4.48:1 contrast. It falls below normal-text AA even though it passes the large-text threshold. The tool labels that combination AA large. Black against the same gray is about 4.69:1 and passes normal-text AA. A harmony rule by itself does not establish accessibility.

These swatch checks cover only opaque sRGB colors against black or white. Use the contrast auditor for your actual accent, button, link and surface combinations. Review focus states, hover states and text placed over gradients separately.

Export colors without sampling screenshots

Copy a single hex value for a quick change, or download the CSS variables file for a reusable stylesheet. The JSON export includes the base color, harmony, five colors, HSL values, black/white ratios and recommended black or white text.

Use the exported values as a starting point for named design tokens such as surface, text and accent. A list of five colors does not decide which color should fill every role. Keep the same definitions across components and check each real text/background pair after applying them.

Keep editable SVG and raster PNG for different uses

Use the SVG shape generator to turn a chosen color into a parametric shape. Set its fill, outline, dash length, opacity and rotation. For organic blobs, a repeatable numeric seed changes the path while letting you recreate the same result later.

Download SVG when you need editable vector geometry. Download PNG for a raster image at the configured width and height. The PNG keeps transparency and is limited to 2048 pixels per axis in this tool. Increasing raster dimensions does not add new design detail. Preview the result in its destination and retain the SVG source.

Frequently asked questions

Does a palette guarantee accessible UI?

No. Check every actual foreground/background pair, text size, state and image or gradient surface.

Can I repeat the same blob shape?

Yes. Keep the seed and other parameters unchanged to recreate the same generated path.

Key takeaways

  • Harmony and readable text are separate checks.
  • A displayed rounded ratio does not change its AA classification.
  • Export real color values and keep SVG sources for future editing.

Published 30 November 2026 by the Cloude Tools team.