PaletteKey —
Color Palette Generator & Color Converter
Convert formats across sRGB and OKLCH, audit WCAG 2.2 contrast compliance, generate design token scales, and explore curated palettes for modern web development.
Essential Designer & Developer Tools
Client-side color calculations, WCAG accessibility benchmarks, and design utilities.
Color Converter
Convert between HEX, RGB, HSL, HSV, CMYK, LAB, and OKLCH color spaces.
Contrast Checker
Verify relative luminance WCAG 2.2 accessibility ratios for text and UI elements.
Palette Generator
Generate color combinations with slot locking and export capabilities.
Shade & Tint Generator
Generate continuous lighter tints and darker shades for design system tokens.
Gradient Generator
Create multi-stop CSS linear and radial gradients with instant CSS exports.
Image Color Picker
Upload an image or photo to extract dominant color swatches on client-side canvas.
Developer & CSS Color Tools
Advanced perceptual color engineering tools for OKLCH, Tailwind CSS, color-mix(), and design tokens.
OKLCH Color Picker
Perceptually uniform color selection with Chroma, Hue, and Lightness controls.
Tailwind Color Generator
Generate complete 50-950 color scales in OKLCH or sRGB with Tailwind v3 & v4 config exports.
CSS color-mix() Generator
Simulate native CSS color-mix() interpolation across OKLCH, Oklab, and sRGB color spaces.
Design System Token Generator
Build primitive and semantic design token scales with dark mode variants and W3C DTCG JSON exports.
Display P3 & Gamut Checker
Verify if OKLCH or RGB colors fit inside sRGB and wide-gamut Display P3 hardware displays.
Delta E Perceptual Distance
Calculate exact perceptual color difference (ΔE) using CIE76 and CIEDE2000 standards.
Accessible Color Systems & WCAG 2.2 Standards
Ensure compliant contrast ratios for normal text, large text, and interactive UI components across light and dark themes.
WCAG Contrast Checker
Calculate relative luminance contrast ratios and test against WCAG 2.2 Level AA (4.5:1) and AAA (7:1) requirements with real-time UI preview components.
- Real-time AA & AAA status checks
- Simulated text & button previews
Accessible Color Generator
Automatically adjust failing foreground or background colors to meet exact target contrast ratios while preserving original hue and saturation intent.
- Perceptual lightness auto-solver
- Custom AA (4.5:1) & AAA (7:1) target ratios
Color Vision Deficiency Simulator
Simulate how UI color pairs and brand palettes appear under Protanopia, Deuteranopia, Tritanopia, and Achromatopsia color vision conditions.
- LMS spectral transformation matrix
- Side-by-side color comparison grid
Most Popular Colors
Top favorited digital design shades with instant HEX code copies and detailed specifications.
Palette Inspiration
Hand-picked color combinations with instant CSS, Tailwind, and JSON design token exports.
Sage & Dusty Rose Wedding
WeddingLavender & Eucalyptus Dream
WeddingBlush & Terracotta Romance
WeddingCyberpunk Neon Nights
NeonMidnight Violet OLED
DarkMatrix Cyber Terminal
DarkExplore Color Families
Browse color codes and named shades grouped by visual color families.
How HEX Color Codes Work
A hexadecimal color code is a 6-character alphanumeric string that specifies the intensity of red, green, and blue light emitted by digital display pixels.
The first two digits dictate red light intensity from 00 (0% red emission) to FF (100% red emission, 255 in base-10 decimal).
The middle two digits control green light. Combining full red and full green (#FFFF00) produces bright yellow in additive RGB color mixing.
The final two digits govern blue light. When all three channels are 00, no light is emitted (black). When all are FF, full spectrum white is produced.
Short HEX Notation (#RGB)
When both characters in each channel match, CSS allows shorthand 3-digit notation. For example, #F53 expands directly to #FF5533.
Alpha Channel Notation (#RRGGBBAA)
8-character HEX codes include an extra trailing pair (AA) specifying opacity from 00 (completely transparent) to FF (fully opaque).
sRGB Standard Color Space
HEX codes map directly into the standard sRGB gamut. For wide-gamut displays (Display P3) or perceptual lightness scaling, modern CSS uses oklch() functions.
Learn About Color
In-depth articles on digital color models, accessibility standards, and color harmony principles.
Understanding HEX Color Codes in Web Design
HEX color codes are a hexadecimal representation of Red, Green, and Blue byte channels (#RRGGBB). Each pair ranges from 00 (0) to FF (255) in base-16 math.
WCAG 2.2 Color Contrast Standards & Accessibility
Color contrast measures the difference in relative luminance between foreground text and background surface. WCAG 2.2 defines Level AA thresholds at 4.5:1 for normal body text and 3:1 for large text or UI controls.
Color Theory & Digital Color Harmonies
Color harmonies define geometric relationships on a 360-degree color wheel, such as complementary (180°), triadic (120°), and analogous (30°) angle spreads.
Why OKLCH is the Future of CSS Colors
OKLCH is a cylindrical color model based on the perceptually uniform Oklab space. It decouples lightness from hue, ensuring that 50% lightness looks equally bright regardless of hue angle.
Color Science & Tool Usage FAQs
Answers to common questions about HEX codes, color conversions, WCAG accessibility benchmarks, and modern CSS color spaces.
PaletteKey is a free, client-side color engineering platform offering 23 specialized tools for designers and developers. It includes a color palette generator, multi-format converter (HEX, RGB, HSL, OKLCH, CMYK, LAB, P3), WCAG 2.2 contrast checker, OKLCH color picker, Tailwind CSS scale generator, design token builder, color vision deficiency simulator, and CSS color-mix() generator — all running in your browser with zero server processing.