Hong Kong Taxi to Donkey Kong Gradient
CSS
background: linear-gradient(90deg, #a8102a 0%, #ab4210 100%);
From Hong Kong Taxi (#A8102A) to Donkey Kong (#AB4210). 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 | |
|---|---|---|---|---|---|
| Hong Kong Taxi | #A8102A | 168, 16, 42 | 350°, 83%, 36% | 0, 90, 75, 34 | |
| 25% (near Red Menace) | #A91D24 | 169, 29, 36 | 357°, 71%, 39% | 0, 83, 79, 34 | |
| 50% (near Tomato Sunrise) | #AA291D | 170, 41, 29 | 5°, 71%, 39% | 0, 76, 83, 33 | |
| 75% (near Grilled Tomato) | #AA3617 | 170, 54, 23 | 13°, 76%, 38% | 0, 68, 86, 33 | |
| Donkey Kong | #AB4210 | 171, 66, 16 | 19°, 83%, 37% | 0, 61, 91, 33 |
Halfway along, the gradient is #AA291D, closest to the named color Tomato Sunrise. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White 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.27:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #a8102a, #ab4210) - Diagonal:
linear-gradient(135deg, #a8102a, #ab4210) - Radial, from the center out:
radial-gradient(circle, #a8102a, #ab4210) - Tailwind CSS:
bg-gradient-to-r from-[#a8102a] to-[#ab4210]
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 Hong Kong Taxi to Donkey Kong gradient?
It starts at #A8102A (Hong Kong Taxi) and ends at #AB4210 (Donkey Kong), with #AA291D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #a8102a, #ab4210) runs from Donkey Kong on the left to Hong Kong Taxi on the right.