Huebook

Ruby Fire to Sweet Chilli Gradient

CSS

background: linear-gradient(90deg, #f20769 0%, #f5160b 100%);

From Ruby Fire (#F20769) to Sweet Chilli (#F5160B). The two hues are 28° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Ruby Fire#F20769242, 7, 105335°, 94%, 49%0, 97, 57, 5
25% (near Rock Lobster)#F30B52243, 11, 82342°, 91%, 50%0, 95, 66, 5
50% (near Barberry)#F40F3A244, 15, 58349°, 91%, 51%0, 94, 76, 4
75% (near Blood Donor)#F41223244, 18, 35355°, 91%, 51%0, 93, 86, 4
Sweet Chilli#F5160B245, 22, 113°, 92%, 50%0, 91, 96, 4

Halfway along, the gradient is #F40F3A, closest to the named color Barberry. 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.00: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.

Related gradients

Questions

What are the HEX codes of the Ruby Fire to Sweet Chilli gradient?

It starts at #F20769 (Ruby Fire) and ends at #F5160B (Sweet Chilli), with #F40F3A in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f20769, #f5160b) runs from Sweet Chilli on the left to Ruby Fire on the right.