#FFF1F2
#FFE4E6
Stats Card Red is a warm and pastel 2-colour linear gradient that runs from off-white (#FFF1F2) to off-white (#FFE4E6) at 180°. 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 18.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(180deg, #FFF1F2, #FFE4E6);
bg-gradient-to-b from-[#FFF1F2] to-[#FFE4E6]
{
"stats-card-red": {
"value": "linear-gradient(180deg, #FFF1F2 0%, #FFE4E6 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let statsCardRedGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.945, blue: 0.949),
Color(red: 1, green: 0.894, blue: 0.902)
],
startPoint: UnitPoint(x: 0.5, y: 0),
endPoint: UnitPoint(x: 0.5, y: 1)
)
// Usage
Rectangle().fill(statsCardRedGradient)val statsCardRedColors = listOf(Color(0xFFFFF1F2), Color(0xFFFFE4E6))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = statsCardRedColors,
start = Offset(size.width * 0.5f, size.height * 0f),
end = Offset(size.width * 0.5f, size.height * 1f)
)
)
}<!-- res/drawable/stats-card-red_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#FFF1F2"
android:endColor="#FFE4E6"
android:type="linear" />
</shape>const statsCardRedGradient = LinearGradient(
begin: Alignment(0, -1),
end: Alignment(0, 1),
colors: [Color(0xFFFFF1F2), Color(0xFFFFE4E6)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: statsCardRedGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFF1F2', '#FFE4E6']}
start={{ x: 0.5, y: 0 }}
end={{ x: 0.5, 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="stats-card-red" x1="0.5" y1="0" x2="0.5" y2="1">
<stop offset="0%" stop-color="#FFF1F2" />
<stop offset="100%" stop-color="#FFE4E6" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#stats-card-red)" />
</svg>:root {
--stats-card-red-1: #FFF1F2;
--stats-card-red-2: #FFE4E6;
--stats-card-red-angle: 180deg;
--stats-card-red: linear-gradient(var(--stats-card-red-angle), var(--stats-card-red-1), var(--stats-card-red-2));
}
.hero {
background: var(--stats-card-red);
}$stats-card-red-1: #FFF1F2;
$stats-card-red-2: #FFE4E6;
$stats-card-red: linear-gradient(180deg, $stats-card-red-1, $stats-card-red-2);
@mixin stats-card-red-bg {
background: $stats-card-red-1;
background: $stats-card-red;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #FFF1F2 | rgb(255, 241, 242) | hsl(356, 100%, 97%) |
| 2 | Off-white | #FFE4E6 | rgb(255, 228, 230) | hsl(356, 100%, 95%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Stats Card Red gradient uses 2 colours: #FFF1F2 and #FFE4E6, at an angle of 180°.
Paste background: linear-gradient(180deg, #FFF1F2, #FFE4E6); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 18.3:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.