#9D0208
#DC2F02
#FFBA08
Lunar New Year Lantern is a warm and bold 3-colour linear gradient that runs from red (#9D0208) through red (#DC2F02) to orange (#FFBA08) at 135°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 4.9:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #9D0208, #DC2F02, #FFBA08);
bg-gradient-to-br from-[#9D0208] via-[#DC2F02] to-[#FFBA08]
{
"lunar-new-year-lantern": {
"value": "linear-gradient(135deg, #9D0208 0%, #DC2F02 50%, #FFBA08 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let lunarNewYearLanternGradient = LinearGradient(
colors: [
Color(red: 0.616, green: 0.008, blue: 0.031),
Color(red: 0.863, green: 0.184, blue: 0.008),
Color(red: 1, green: 0.729, blue: 0.031)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(lunarNewYearLanternGradient)val lunarNewYearLanternColors = listOf(Color(0xFF9D0208), Color(0xFFDC2F02), Color(0xFFFFBA08))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = lunarNewYearLanternColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/lunar-new-year-lantern_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#9D0208"
android:centerColor="#DC2F02"
android:endColor="#FFBA08"
android:type="linear" />
</shape>const lunarNewYearLanternGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF9D0208), Color(0xFFDC2F02), Color(0xFFFFBA08)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: lunarNewYearLanternGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#9D0208', '#DC2F02', '#FFBA08']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="lunar-new-year-lantern" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#9D0208" />
<stop offset="50%" stop-color="#DC2F02" />
<stop offset="100%" stop-color="#FFBA08" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#lunar-new-year-lantern)" />
</svg>:root {
--lunar-new-year-lantern-1: #9D0208;
--lunar-new-year-lantern-2: #DC2F02;
--lunar-new-year-lantern-3: #FFBA08;
--lunar-new-year-lantern-angle: 135deg;
--lunar-new-year-lantern: linear-gradient(var(--lunar-new-year-lantern-angle), var(--lunar-new-year-lantern-1), var(--lunar-new-year-lantern-2), var(--lunar-new-year-lantern-3));
}
.hero {
background: var(--lunar-new-year-lantern);
}$lunar-new-year-lantern-1: #9D0208;
$lunar-new-year-lantern-2: #DC2F02;
$lunar-new-year-lantern-3: #FFBA08;
$lunar-new-year-lantern: linear-gradient(135deg, $lunar-new-year-lantern-1, $lunar-new-year-lantern-2, $lunar-new-year-lantern-3);
@mixin lunar-new-year-lantern-bg {
background: $lunar-new-year-lantern-1;
background: $lunar-new-year-lantern;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #9D0208 | rgb(157, 2, 8) | hsl(358, 97%, 31%) |
| 2 | Red | #DC2F02 | rgb(220, 47, 2) | hsl(12, 98%, 44%) |
| 3 | Orange | #FFBA08 | rgb(255, 186, 8) | hsl(43, 100%, 52%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Lunar New Year Lantern gradient uses 3 colours: #9D0208, #DC2F02 and #FFBA08, at an angle of 135°.
Paste background: linear-gradient(135deg, #9D0208, #DC2F02, #FFBA08); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 4.9:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.