Methadone to Solar Ash Gradient
CSS
background: linear-gradient(90deg, #cc2233 0%, #cc6622 100%);
From Methadone (#CC2233) to Solar Ash (#CC6622). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Methadone | #CC2233 | 204, 34, 51 | 354°, 71%, 47% | 0, 83, 75, 20 | |
| 25% (near Persian Red) | #CC332F | 204, 51, 47 | 2°, 63%, 49% | 0, 75, 77, 20 | |
| 50% (near Mr. Krabs) | #CC442B | 204, 68, 43 | 9°, 65%, 48% | 0, 67, 79, 20 | |
| 75% (near Peanut Butter Jelly) | #CC5526 | 204, 85, 38 | 17°, 69%, 47% | 0, 58, 81, 20 | |
| Solar Ash | #CC6622 | 204, 102, 34 | 24°, 71%, 47% | 0, 50, 83, 20 |
Halfway along, the gradient is #CC442B, closest to the named color Mr. Krabs. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on the Methadone end and black text on the Solar Ash end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 1.43:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #cc2233, #cc6622) - Diagonal:
linear-gradient(135deg, #cc2233, #cc6622) - Radial, from the center out:
radial-gradient(circle, #cc2233, #cc6622) - Tailwind CSS:
bg-gradient-to-r from-[#cc2233] to-[#cc6622]
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 Methadone to Solar Ash gradient?
It starts at #CC2233 (Methadone) and ends at #CC6622 (Solar Ash), with #CC442B in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cc2233, #cc6622) runs from Solar Ash on the left to Methadone on the right.