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