Red to Amber gradient and UI scale
CSS linear-gradient
linear-gradient(135deg in oklch, oklch(0.64 0.13 15), oklch(0.64 0.13 55))Sandbox
Open Red to Amber in the blender
Drag the two orbs if you want a different mix. The theme on the homepage follows this pair.
Open sandboxSample card
Red to Amber
PlaySkipLow spaceRemove
WCAG AA 17.28:1
50 to 900 red scale
--color-red-50: oklch(0.97 0.01 15); --color-red-100: oklch(0.93 0.02 15); --color-red-200: oklch(0.86 0.05 15); --color-red-300: oklch(0.76 0.09 15); --color-red-400: oklch(0.66 0.14 15); --color-red-500: oklch(0.55 0.14 15); --color-red-600: oklch(0.46 0.11 15); --color-red-700: oklch(0.38 0.09 15); --color-red-800: oklch(0.30 0.07 15); --color-red-900: oklch(0.24 0.06 15);
50
oklch(0.97 0.01 15)
100
oklch(0.93 0.02 15)
200
oklch(0.86 0.05 15)
300
oklch(0.76 0.09 15)
400
oklch(0.66 0.14 15)
500
oklch(0.55 0.14 15)
600
oklch(0.46 0.11 15)
700
oklch(0.38 0.09 15)
800
oklch(0.30 0.07 15)
900
oklch(0.24 0.06 15)
How Red to Amber is built
Hue distance
Red to Amber stays with neighboring hues, 40° from Red to Amber.
Contrast
Text on the page background measures 17.3:1. The same text on the card surface measures 15.5:1. Both clear the WCAG AA line of 4.5:1.
Using the scale
Paint the hero with the Red to Amber gradient, then use the Red scale for controls and the neutral tokens for cards.