#FF006E
#FB5607
#FFBE0B
Diwali Rangoli is a warm and bold 3-colour linear gradient that runs from pink (#FF006E) through orange (#FB5607) to orange (#FFBE0B) at 120°. 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 6.8:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(120deg, #FF006E, #FB5607, #FFBE0B);
bg-[linear-gradient(120deg,#FF006E,#FB5607,#FFBE0B)]
{
"diwali-rangoli": {
"value": "linear-gradient(120deg, #FF006E 0%, #FB5607 50%, #FFBE0B 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let diwaliRangoliGradient = LinearGradient(
colors: [
Color(red: 1, green: 0, blue: 0.431),
Color(red: 0.984, green: 0.337, blue: 0.027),
Color(red: 1, green: 0.745, blue: 0.043)
],
startPoint: UnitPoint(x: 0, y: 0.212),
endPoint: UnitPoint(x: 1, y: 0.789)
)
// Usage
Rectangle().fill(diwaliRangoliGradient)val diwaliRangoliColors = listOf(Color(0xFFFF006E), Color(0xFFFB5607), Color(0xFFFFBE0B))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = diwaliRangoliColors,
start = Offset(size.width * 0f, size.height * 0.212f),
end = Offset(size.width * 1f, size.height * 0.789f)
)
)
}<!-- res/drawable/diwali-rangoli_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FF006E"
android:centerColor="#FB5607"
android:endColor="#FFBE0B"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 120deg in CSS is 330°, rounded to 315°. -->const diwaliRangoliGradient = LinearGradient(
begin: Alignment(-1, -0.577),
end: Alignment(1, 0.577),
colors: [Color(0xFFFF006E), Color(0xFFFB5607), Color(0xFFFFBE0B)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: diwaliRangoliGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FF006E', '#FB5607', '#FFBE0B']}
start={{ x: 0, y: 0.212 }}
end={{ x: 1, y: 0.789 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="diwali-rangoli" x1="0" y1="0.212" x2="1" y2="0.789">
<stop offset="0%" stop-color="#FF006E" />
<stop offset="50%" stop-color="#FB5607" />
<stop offset="100%" stop-color="#FFBE0B" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#diwali-rangoli)" />
</svg>:root {
--diwali-rangoli-1: #FF006E;
--diwali-rangoli-2: #FB5607;
--diwali-rangoli-3: #FFBE0B;
--diwali-rangoli-angle: 120deg;
--diwali-rangoli: linear-gradient(var(--diwali-rangoli-angle), var(--diwali-rangoli-1), var(--diwali-rangoli-2), var(--diwali-rangoli-3));
}
.hero {
background: var(--diwali-rangoli);
}$diwali-rangoli-1: #FF006E;
$diwali-rangoli-2: #FB5607;
$diwali-rangoli-3: #FFBE0B;
$diwali-rangoli: linear-gradient(120deg, $diwali-rangoli-1, $diwali-rangoli-2, $diwali-rangoli-3);
@mixin diwali-rangoli-bg {
background: $diwali-rangoli-1;
background: $diwali-rangoli;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pink | #FF006E | rgb(255, 0, 110) | hsl(334, 100%, 50%) |
| 2 | Orange | #FB5607 | rgb(251, 86, 7) | hsl(19, 97%, 51%) |
| 3 | Orange | #FFBE0B | rgb(255, 190, 11) | hsl(44, 100%, 52%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Diwali Rangoli gradient uses 3 colours: #FF006E, #FB5607 and #FFBE0B, at an angle of 120°.
Paste background: linear-gradient(120deg, #FF006E, #FB5607, #FFBE0B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 6.8:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.