colour ramp
An ordered set of lighter and darker versions of one hue, usually numbered such as 100 to 900.
In more detail
Design systems generate ramps from a formula so every hue has matching steps, and the same step numbers meet the same contrast targets. Generating them in OKLCH keeps the lightness of each step consistent across hues.
Related terms
- OKLCH — A colour space, used in CSS as oklch(), that describes colours by perceived lightness, chroma (colourfulness) and hue angle.
- global token — A token that holds a literal value from the full palette, such as blue.500 = #3b82f6, with no meaning attached.
- contrast ratio — A number from 1:1 to 21:1 comparing the relative luminance of text and its background, used by WCAG to judge readability.
Taught in
- Modern Color Spaces: OKLCH, Gamut Mapping & APCA Contrast — Design Systems & Component Engineering