#FFF1F2
#FB7185
#E11D48
Holiday Candy Cane is a warm and pastel 3-colour linear gradient that runs from off-white (#FFF1F2) through light red (#FB7185) to red (#E11D48) at 135°. It suits hero sections and call-to-action buttons and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 8.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #FFF1F2, #FB7185, #E11D48);
bg-gradient-to-br from-[#FFF1F2] via-[#FB7185] to-[#E11D48]
{
"holiday-candy-cane": {
"value": "linear-gradient(135deg, #FFF1F2 0%, #FB7185 50%, #E11D48 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let holidayCandyCaneGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.945, blue: 0.949),
Color(red: 0.984, green: 0.443, blue: 0.522),
Color(red: 0.882, green: 0.114, blue: 0.282)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(holidayCandyCaneGradient)val holidayCandyCaneColors = listOf(Color(0xFFFFF1F2), Color(0xFFFB7185), Color(0xFFE11D48))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = holidayCandyCaneColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/holiday-candy-cane_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FFF1F2"
android:centerColor="#FB7185"
android:endColor="#E11D48"
android:type="linear" />
</shape>const holidayCandyCaneGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFFF1F2), Color(0xFFFB7185), Color(0xFFE11D48)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: holidayCandyCaneGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFF1F2', '#FB7185', '#E11D48']}
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="holiday-candy-cane" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FFF1F2" />
<stop offset="50%" stop-color="#FB7185" />
<stop offset="100%" stop-color="#E11D48" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#holiday-candy-cane)" />
</svg>:root {
--holiday-candy-cane-1: #FFF1F2;
--holiday-candy-cane-2: #FB7185;
--holiday-candy-cane-3: #E11D48;
--holiday-candy-cane-angle: 135deg;
--holiday-candy-cane: linear-gradient(var(--holiday-candy-cane-angle), var(--holiday-candy-cane-1), var(--holiday-candy-cane-2), var(--holiday-candy-cane-3));
}
.hero {
background: var(--holiday-candy-cane);
}$holiday-candy-cane-1: #FFF1F2;
$holiday-candy-cane-2: #FB7185;
$holiday-candy-cane-3: #E11D48;
$holiday-candy-cane: linear-gradient(135deg, $holiday-candy-cane-1, $holiday-candy-cane-2, $holiday-candy-cane-3);
@mixin holiday-candy-cane-bg {
background: $holiday-candy-cane-1;
background: $holiday-candy-cane;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #FFF1F2 | rgb(255, 241, 242) | hsl(356, 100%, 97%) |
| 2 | Light red | #FB7185 | rgb(251, 113, 133) | hsl(351, 95%, 71%) |
| 3 | Red | #E11D48 | rgb(225, 29, 72) | hsl(347, 77%, 50%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Holiday Candy Cane gradient uses 3 colours: #FFF1F2, #FB7185 and #E11D48, at an angle of 135°.
Paste background: linear-gradient(135deg, #FFF1F2, #FB7185, #E11D48); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 8.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.