Color Engineering & Accessibility Platform

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.

Popular inputs:

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.

Open Tool

Contrast Checker

Verify relative luminance WCAG 2.2 accessibility ratios for text and UI elements.

Open Tool

Palette Generator

Generate color combinations with slot locking and export capabilities.

Open Tool

Shade & Tint Generator

Generate continuous lighter tints and darker shades for design system tokens.

Open Tool

Gradient Generator

Create multi-stop CSS linear and radial gradients with instant CSS exports.

Open Tool

Image Color Picker

Upload an image or photo to extract dominant color swatches on client-side canvas.

Open Tool
Modern CSS & Engineering

Developer & CSS Color Tools

Advanced perceptual color engineering tools for OKLCH, Tailwind CSS, color-mix(), and design tokens.

All 23 Tools
CSS Level 4

OKLCH Color Picker

Perceptually uniform color selection with Chroma, Hue, and Lightness controls.

Open Tool
Framework

Tailwind Color Generator

Generate complete 50-950 color scales in OKLCH or sRGB with Tailwind v3 & v4 config exports.

Open Tool
CSS Level 5

CSS color-mix() Generator

Simulate native CSS color-mix() interpolation across OKLCH, Oklab, and sRGB color spaces.

Open Tool
Tokens

Design System Token Generator

Build primitive and semantic design token scales with dark mode variants and W3C DTCG JSON exports.

Open Tool
Color Science

Display P3 & Gamut Checker

Verify if OKLCH or RGB colors fit inside sRGB and wide-gamut Display P3 hardware displays.

Open Tool
Metrics

Delta E Perceptual Distance

Calculate exact perceptual color difference (ΔE) using CIE76 and CIEDE2000 standards.

Open Tool
Inclusive Design & Compliance

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
Test Contrast Ratios

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
Auto-Fix Color Contrast

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
Simulate Color Perception

Palette Inspiration

Hand-picked color combinations with instant CSS, Tailwind, and JSON design token exports.

Sage & Dusty Rose Wedding

Wedding
#9CAF88#DCAE96#F5F5DC#36454F#C5D3B8

Lavender & Eucalyptus Dream

Wedding
#E6E6FA#A2B9A1#FBFBF9#4A3B52#C3B1E1

Blush & Terracotta Romance

Wedding
#E2725B#F4C2C2#FAF0E6#556B2F#B38B6D

Cyberpunk Neon Nights

Neon
#00FFFF#FF007F#191970#0F0F1A#39FF14

Midnight Violet OLED

Dark
#0A0A12#1A1A2E#7B2CBF#9D4EDD#E0AAFF

Matrix Cyber Terminal

Dark
#0D1117#161B22#00FF66#00B341#8B949E

Explore Color Families

Browse color codes and named shades grouped by visual color families.

Red
Orange
Yellow
Green
Blue
Purple
Pink
Brown
Gray
Digital Color Fundamentals

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.

#RRRed Channel

The first two digits dictate red light intensity from 00 (0% red emission) to FF (100% red emission, 255 in base-10 decimal).

GGBBGreen Channel

The middle two digits control green light. Combining full red and full green (#FFFF00) produces bright yellow in additive RGB color mixing.

BBBlue Channel

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.

Browse All Guides
Color Formats 4 min read
By Palettekey Team

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.

Read Article
Accessibility 6 min read
By Palettekey Team

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.

Read Article
Color Theory 5 min read
By Palettekey Team

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.

Read Article
Modern CSS 5 min read
By Palettekey Team

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.

Read Article
Frequently Asked Questions

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.