Example
Input (base color)
#5b21b6 (Iris)
Output
Shades: #1a0a39, #2e1273, ... (5 darker steps) Tints: #7d40d5, #a677e2, ... (5 lighter steps) Complement: #87b621 Analogous: #4521b6, #5b6db6 Triad: #21b65b, #b6215b Tetrad: #21b65b, #87b621, #b65b21
Note
Click any swatch to copy its HEX. Shades/tints adjust L only; hue rotation drives complement / analogous / triad / tetrad.
Usage / FAQ
When to use
- Derive light/dark variants from a brand color for a design system
- Seed Tailwind / shadcn-style 50/100/200/.../900 tokens
- Quickly explore complementary / analogous palettes for supporting colors
- Pick chart palettes from triad / tetrad schemes for data viz
- Pair with Color Converter and Color Contrast in a design workflow
FAQ
- Q.Shades vs tints?
- A.Shades darken (add black, decrease L); tints lighten (add white, increase L). This tool adjusts HSL's L directly in ±10% steps × 5.
- Q.How are complement / analogous / triad / tetrad computed?
- A.Hue rotation only: complement +180°, analogous ±30°, triad ±120°, tetrad ±90° + 180°. Saturation and lightness stay the same as the base.
- Q.What about more accurate color spaces like OKLCH?
- A.Currently HSL-based — simple and fast. Perceptual spaces like OKLCH match human vision better but use different rotation conventions. Under consideration.
Fun facts
The HSL (Hue / Saturation / Lightness) color space was introduced in 1978 by Alvy Ray Smith. It decomposes RGB — which is machine-friendly but cognitively opaque — into a hue angle (0–360°) plus saturation and lightness. That's why every color picker UI ended up using it.
Wikipedia — HSL/HSVColor-harmony rules — complementary, triadic, tetradic — trace back to Goethe's 1810 'Theory of Colours' and the color wheel he popularized. The reason a 200-year-old palette idea still drives digital UI design: the afterimage response in the human eye hasn't changed.
Wikipedia — Color wheelCSS Color 4 (2024) added oklch / oklab, fixing HSL's hidden flaw — same lightness values look visibly different across hues. oklch corrects for the eye's non-linear response, so 'lightness 50%' actually feels equally bright across the wheel.
W3C — CSS Color 4
Related guides
- WCAG Color Contrast — AA, AAA, and What the 4.5:1 Ratio Means
How WCAG contrast ratios are calculated, the difference between AA and AAA, what 'large text' means, common UI failures, and APCA (the next-gen formula).
- How Computers Represent Color (RGB, HSL, OKLCH)
What sRGB, P3, RGB, HSL, OKLCH actually mean. Why HSL feels intuitive but breaks visual consistency, why OKLCH is the new default in design systems, and how to read gamut and luminance like a pro.
Related tools
- Color Converter
Convert colors between HEX, RGB, and HSL with a live preview swatch. Auto-detects any of the three input formats.
- Image to Base64 (Data URI)
Convert an image file to a Base64 data URI for inline embedding in HTML/CSS/Markdown. Up to 5 MB.
- Image Resize & Compress
Resize, crop, and compress images entirely in your browser. Pick width × height, choose crop or fit mode, adjust JPEG quality. Outputs as {original}_{w}x{h}.{ext}.
- Image Crop
Crop images right in your browser — drag to select, lock aspect ratios (1:1, 16:9…), export PNG/JPEG. No upload.
- Emoji Picker
Pick and copy emojis with one click. Search by name (en/ko), browse by category, and keep your recents and favorites in the browser.
- QR Code Generator
Generate a QR code from any text or URL. Adjustable error correction (L/M/Q/H), SVG output, downloadable.
- Color Contrast Checker
Check the WCAG contrast ratio between two colors. Pass/fail for AA Normal/Large + AAA Normal/Large with a live sample.
- CSS Gradient Generator
Build linear, radial, and conic CSS gradients with color stops + angle/position. Live preview + copy-ready CSS.
- PDF Merge
Merge multiple PDF files into a single document. Drag to reorder pages, all client-side — files never leave your browser.
- PDF Split
Extract a page range from a PDF — e.g. 1-3,5,7-9. All client-side, files never leave your browser.
- PDF Rotate
Rotate all or selected PDF pages by 90°, 180°, or 270°. Useful for scanned documents in wrong orientation. All client-side.
- PDF Watermark
Add a text watermark (CONFIDENTIAL, DRAFT, etc.) to every PDF page. Control opacity, rotation, size, color. All client-side.
- PDF Compress
Re-encode a PDF with object stream compression and metadata stripping. Modest size reduction (text-heavy: 5-20%). Image-heavy PDFs need server-side tools. All client-side.
- Image to PDF
Combine JPG, PNG, and other images into a single PDF — in your browser. Reorder pages, choose A4/Letter or original size. Nothing is uploaded.
- Favicon Generator
Make a favicon from an image, emoji, or text — multi-size favicon.ico, apple-touch-icon, PWA icons + ready HTML/manifest snippets, in your browser.