Edit the selected color
Shade scale
Less saturated than the base color, to fit sRGB
Contrast
:1
| Use | AA | AAA |
|---|
Every pair
Color vision simulation
As designed
Simulated
Every type
Import colors
From an image
Drop an image here or paste one
The image is read in this browser and is not uploaded.
Hex codes, rgb(), hsl(), oklch() or oklab() values, CSS or SCSS variables, a share link, or the text of a GPL palette file.
Export
Saved palettes
Saved palettes are kept in this browser.
Notes
Contrast (WCAG 2.2)
The ratio is (L1 + 0.05) / (L2 + 0.05), where L1 and L2 are the relative luminances of the lighter and darker color.
- Normal text: 4.5:1 for AA (1.4.3), 7:1 for AAA (1.4.6).
- Large text, at least 18 point (24px) or 14 point bold (about 18.5px): 3:1 for AA, 4.5:1 for AAA.
- User interface components and graphics: 3:1 against adjacent colors (1.4.11, AA). There is no AAA level for these.
Harmonies
Hue angles from the base color, on the OKLCH hue circle:
Shades and gamut
Steps are evenly spaced in OKLCH lightness, at the hue of the base color. All colors and exports are sRGB.
Color vision
Protanopia, deuteranopia, tritanopia and their milder forms (protanomaly, deuteranomaly, tritanomaly) use the simulation matrices of Machado, Oliveira and Fernandes (2009). The authors describe their tritanopia results as an approximation. Achromatopsia shows relative luminance only. Pairs closer than 0.05 in OKLab after simulation are listed as hard to distinguish.
A Physiologically-based Model for Simulation of Color Vision Deficiency
Keyboard
- Space
- Generate new unlocked colors
- ← →
- Select the previous or next swatch
- Alt + ← →
- Move the selected swatch
- L
- Lock or unlock the selected swatch
- C
- Copy the selected hex code
- Ctrl + Z
- Undo; add Shift to redo