Copied!
Design Your Way
Visual Design Reference

Color Theory
Cheat Sheet

This Color Theory Cheat Sheet is everything a designer needs: from the color wheel to WCAG contrast, harmonies, OKLCH, psychology, print, and historical palettes.

Chapter 1: Foundations
01
The Color Wheel

The foundation of all color relationships. Understanding how hues relate on the wheel is the first step toward intentional color decisions.

PrimaryRed, Yellow, Blue. Cannot be made by mixing other colors.
SecondaryOrange, Green, Violet. Mixed from two adjacent primaries.
TertiaryRed-orange, Yellow-green, etc. Primary plus adjacent secondary.
Click or drag the color wheel to select a hue. Syncs with harmonies.
02
HSL: Hue, Saturation, Lightness

HSL is the most intuitive color model for designers. It maps directly to how we think about color: what color is it, how vivid is it, how light or dark?

hsl(220, 70%, 60%)
Hue220°
Saturation70%
Lightness60%

HUE (H) 0-360°

The pure color identity. Position on the color wheel. 0°/360° = red, 120° = green, 240° = blue.

SATURATION (S) 0-100%

Colorfulness. 0% = gray, 100% = fully vivid. Desaturating adds neutral gray to the hue.

LIGHTNESS (L) 0-100%

0% = black, 50% = full color, 100% = white. At 100% L, all hue is lost to white.

i

HSL vs HSB/HSV: HSL uses Lightness where 50% = full color. HSB uses Brightness where 100% = full color. CSS uses HSL. Photoshop uses HSB. Same color space, different coordinate systems.

03
Color Harmonies

Harmonies are systematic relationships between hues on the wheel. Each type produces a different emotional quality and degree of visual tension.

Complementary

Opposite on the wheel (180°). Maximum contrast. Use one dominant (70%), one accent (30%). Vibrates when used at equal area and equal lightness.

Analogous

3-5 adjacent hues within 30-60°. Naturally harmonious, found in nature. Add a complementary pop for hierarchy.

Triadic

3 colors at 120°. Vibrant and balanced. Designate one dominant, one secondary, one accent (60/30/10).

Split-Complementary

Base color plus two colors flanking its complement. High contrast but less jarring than pure complementary.

Tetradic (Rectangle)

4 colors as two complementary pairs. Rich but needs a clear dominance hierarchy to avoid visual chaos.

Monochromatic

One hue at varying saturation and lightness. Cohesive and elegant. Add sufficient value difference for contrast.

04
Itten's 7 Color Contrasts

Johannes Itten's 1961 framework from "The Art of Color" identifies seven distinct types of color contrast. Understanding these is fundamental to intentional color composition.

Chapter 2: Design Systems
05

Generate a full 11-stop design system scale from any base color, with values ready to copy in HEX, HSL, or OKLCH.

Base color#5b4fcf
i

How it works: Stops are spaced using perceptual lightness, from 97% (50) to 7% (950). This matches how Tailwind v3, Radix UI, and Material 3 generate their scales, unlike naive HSL mixing which looks muddy at the extremes.

06
Tints, Tones and Shades

Three fundamental ways to modify a base color by adding white, gray, or black respectively.

i

In practice: Design systems use 9-11 stop scales. Tools like Radix, Tailwind, and Material use perceptual lightness (OKLCH), not simple HSL mixing, because HSL-mixed dark stops can look greenish or brownish.

Chapter 3: Accessibility
07

Color contrast is a legal accessibility requirement in many contexts. Use the checker below to verify any color pair against WCAG 2.1 and the newer APCA standard.

Aa Sample Text
WCAG 2.1 ratio
15.3 : 1 AAA
APCA (WCAG 3 draft)
Lc 108
AA Normal, pass (4.5:1)
AA Large, pass (3:1)
AAA Normal, pass (7:1)
Pick colors to test
Background#1a237e
Foreground#ffffff

Use the Color Contrast Checker tool for a full WCAG report.

WCAG 2.1AA: 4.5:1 normal, 3:1 large
AAA: 7:1 normal, 4.5:1 large
APCA (Lc)Lc 45: body · Lc 60: subheadings · Lc 75: headlines

Relative Luminance

WCAG contrast uses a weighted average of linearized RGB. Green contributes 71.5%, red 21.3%, blue 7.2%, matching human cone sensitivity.

APCA (WCAG 3 draft)

Advanced Perceptual Contrast Algorithm. Accounts for polarity (dark-on-light vs light-on-dark) and font weight. More accurate for real-world readability.

Non-text Contrast

UI components and icons need 3:1 against adjacent colors (WCAG 1.4.11). Often missed: check borders on inputs, icon fills, and focus rings.

08
Typography and Color

The same color pair can pass or fail WCAG depending purely on font size and weight. Larger, heavier text needs less contrast.

Weight affects perceived contrast

Bold text at the same color reads as higher contrast. A 3:1 ratio is sufficient for bold 14pt+ text. Thin fonts may need AAA ratios even at large sizes.

Never rely on color alone

Use underlines for links, not just color changes. WCAG 1.4.1: color must not be the only visual means of conveying information.

Colored text on colored background

When both foreground and background are chromatic, run the WCAG formula on both. Saturated complementary pairs may pass ratio but cause chromatic aberration.

Placeholder and disabled states

Placeholder text needs 4.5:1. Disabled states are exempt (WCAG 1.4.3), but consider low-vision users who may not perceive the disabled affordance.

Chapter 4: Color Science
09
Gamut Mapping: Clip vs Compress

When a color lives outside a target gamut, it must be handled. Clipping and compression produce different results with different trade-offs.

Clipping (hard limit)

Channel values above the gamut ceiling are cut to the maximum. Fast but destructive. Hue shifts and lost highlight detail — like overexposing a photo.

Clipped

Compression (soft mapping)

The entire tonal range is scaled to fit within the gamut. No information lost, but the result is slightly desaturated. Used in professional ICC profiles.

Compressed

Rendering intents

ICC profiles define four intents: Perceptual (compress all), Relative Colorimetric (clip + shift white point), Saturation (maximize vividness), Absolute Colorimetric (clip, preserve white).

CSS and gamut

CSS Color 4 lets you specify P3 colors with sRGB fallback via @media (color-gamut: p3). Browsers clip out-of-gamut values to the nearest in-gamut color.

Where clipping hurts most

Electric blues, vivid cyans, and saturated greens are the most common gamut casualties in print. In digital, HDR highlights often clip on SDR screens.

10
OKLCH and CSS Color Level 4

OKLCH is the modern CSS color space for perceptually uniform color. Equal L values truly look equally bright across all hues — unlike HSL.

OKLCH syntax

oklch(L% C H) — L = 0-100% lightness, C = 0-0.4 chroma, H = 0-360° hue. Supported in all modern browsers from 2023 onward.

Display P3 gamut

color(display-p3 1 0 0) gives roughly 50% wider gamut than sRGB. Use @media (color-gamut: p3) to progressively enhance.

Why OKLCH for design systems

Generates consistent lightness steps across hues. HSL-generated scales look uneven: yellows appear lighter than purples at the same L value.

HDR and beyond sRGB

CSS Color 4 includes rec2020 and other ultra-wide gamuts. color(rec2020 ...) future-proofs for HDR web displays.

Chapter 5 — Applied Color
11
Color in Data Visualization

Charts have their own color rules. The wrong palette can create false patterns or exclude colorblind users from understanding your data entirely.

Why rainbow (jet) is harmful

Rainbow colormaps create false perceptual boundaries where none exist. The green-to-yellow transition appears as a sharp edge. They fail for colorblind users and look different in grayscale.

ColorBrewer palettes

Cynthia Brewer's ColorBrewer2.org provides rigorously tested palettes rated for colorblind safety, print safety, and photocopy safety. Essential for any data designer.

Encoding with color

Use hue to distinguish categories. Use lightness to show magnitude. Saturation works for emphasis but not quantity. Avoid encoding two different dimensions with both hue and saturation.

Chart accessibility

Never use red and green as the primary distinction. Use shape, texture, or label redundancy. The Okabe-Ito palette is the gold standard for colorblind-safe categorical data.

12
Color Temperature

Color temperature describes the perceived warmth or coolness of a color. It affects spatial perception, emotional response, and appetite.

Cool, 10,000K+, BluesNeutral, 5,000-6,500KWarm, 1,800-3,000K, Reds
Warm colors

Energetic, urgent, inviting. Advance toward the viewer. Increase perceived temperature and appetite. Used in CTAs, food, and entertainment.

Cool colors

Calm, trustworthy, spacious. Recede from the viewer. Lower perceived temperature. Used in finance, tech, healthcare, and productivity.

13
Color Mixing Simulator

Pick two colors and see how they mix in additive (light) and subtractive (pigment) models — which produce very different results.

Color A
#ff3300
+
Result
#
Color B
#0033ff

Additive (RGB / Light)

Mixing light wavelengths. Red + Green = Yellow. Red + Blue = Magenta. All three = White. Used in screens, projectors, and LEDs.

Subtractive (CMYK / Pigment)

Inks absorb wavelengths. Cyan + Magenta = Blue. Magenta + Yellow = Red. All three produce dark brown — which is why printing needs a dedicated black (K) ink.

Chapter 6: Standards and Production
14
Color Naming Systems

Beyond Pantone, several industry-standard systems define and communicate color across manufacturing, architecture, and product design.

15
Print and Pantone Reference

Screen colors and print colors are fundamentally different. Understanding why prevents expensive surprises at the press.

Chapter 7: Psychology and Culture
16

Color communicates before words. These associations are partly universal, partly cultural — always context-dependent.

17
Historical and Named Palettes

Every design era produced a signature palette. Click any swatch to copy its hex value.

Chapter 8: Perception and Practice
18
Optical Phenomena

The eye is not a camera. Several optical effects can make identical colors appear different — or different colors appear identical.

Simultaneous Contrast

The same color looks different against different backgrounds. Both center squares below are #888:

Color Constancy

The visual system compensates for ambient light to perceive stable object colors. This is why "The Dress" debate happened: different assumptions about ambient light led to completely different perceived colors.

Vibrating Edges

Complementary colors at equal lightness placed side by side create an optical vibration. Avoid saturated complementary pairs at the same lightness in UI design.

Afterimages

Stare at a saturated color then look at white and you will see its complement. Caused by photoreceptor fatigue — explains opponent-process theory.

Bezold Effect

Changing one color in a pattern shifts the perception of all others. Fine red lines on blue feel purple due to optical mixing. Used in textiles and pointillist painting.

Purkinje Shift

In dim light, the eye shifts from cones (color) to rods (brightness). Reds darken faster than blues — why night vision sees less red. Key for dark mode design.

19
Practical Design Rules

Distilled principles from production design, accessible systems design, and brand strategy.

The 60-30-10 Rule

60% dominant, 30% secondary, 10% accent. Prevents visual chaos and creates natural hierarchy.

Color Token Architecture

Primitives (blue-500) to Semantics (color-action-primary) to Component (button-bg). Semantic tokens decouple meaning from value, enabling theming at scale.

Neutral Palette Trap

Pure grays (#808080) feel cold and lifeless. Use warm-tinted or cool-tinted neutrals that match your brand temperature. Great products never use pure neutral gray.

Dark Mode Strategy

Do not simply invert. Use separate dark-specific scales. Reduce saturation slightly. Elevate surfaces by lightening them (Material 3's approach) rather than by adding shadows.

Color Blindness

Deuteranopia ~1%Protanopia ~1%Tritanopia rare

About 8% of men have red-green deficiency. Never convey info by hue alone. Test with Chrome DevTools' vision deficiency emulator.

Gamut and P3

Use @media (color-gamut: p3) to progressively enhance. P3 reds and greens are visibly more vivid on capable displays, giving brand colors more impact.

20
Cultural Color Meanings

Color meanings are not universal. A color that signals trust in one culture may signal mourning in another — critical knowledge for global design.

Color West East Asia Middle East India