Huebook

Pastel Lavender to Young at Heart Gradient

CSS

background: linear-gradient(90deg, #d8a1c4 0%, #d5a1a9 100%);

From Pastel Lavender (#D8A1C4) to Young at Heart (#D5A1A9). The two hues are 29° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Pastel Lavender#D8A1C4216, 161, 196322°, 41%, 74%0, 25, 9, 15
25% (near Pastel Lavender)#D7A1BD215, 161, 189329°, 40%, 74%0, 25, 12, 16
50% (near Sweet Perfume)#D7A1B7215, 161, 183336°, 40%, 74%0, 25, 15, 16
75% (near Young at Heart)#D6A1B0214, 161, 176343°, 39%, 74%0, 25, 18, 16
Young at Heart#D5A1A9213, 161, 169351°, 38%, 73%0, 24, 21, 16

Halfway along, the gradient is #D7A1B7, closest to the named color Sweet Perfume. The stops are mixed in RGB, the way browsers draw a linear gradient by default.

Text on this gradient

Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.03:1, so the change is gentle.

Other ways to use it

Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.

Questions

What are the HEX codes of the Pastel Lavender to Young at Heart gradient?

It starts at #D8A1C4 (Pastel Lavender) and ends at #D5A1A9 (Young at Heart), with #D7A1B7 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #d8a1c4, #d5a1a9) runs from Young at Heart on the left to Pastel Lavender on the right.