#FAFAFA
#F4F4F5
Pricing Card is a neutral and pastel 2-colour linear gradient that runs from off-white (#FAFAFA) to off-white (#F4F4F5) at 180°. It suits subtle surfaces and app backgrounds and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 19.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(180deg, #FAFAFA, #F4F4F5);
bg-gradient-to-b from-[#FAFAFA] to-[#F4F4F5]
{
"pricing-card": {
"value": "linear-gradient(180deg, #FAFAFA 0%, #F4F4F5 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let pricingCardGradient = LinearGradient(
colors: [
Color(red: 0.98, green: 0.98, blue: 0.98),
Color(red: 0.957, green: 0.957, blue: 0.961)
],
startPoint: UnitPoint(x: 0.5, y: 0),
endPoint: UnitPoint(x: 0.5, y: 1)
)
// Usage
Rectangle().fill(pricingCardGradient)val pricingCardColors = listOf(Color(0xFFFAFAFA), Color(0xFFF4F4F5))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = pricingCardColors,
start = Offset(size.width * 0.5f, size.height * 0f),
end = Offset(size.width * 0.5f, size.height * 1f)
)
)
}<!-- res/drawable/pricing-card_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#FAFAFA"
android:endColor="#F4F4F5"
android:type="linear" />
</shape>const pricingCardGradient = LinearGradient(
begin: Alignment(0, -1),
end: Alignment(0, 1),
colors: [Color(0xFFFAFAFA), Color(0xFFF4F4F5)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: pricingCardGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FAFAFA', '#F4F4F5']}
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="pricing-card" x1="0.5" y1="0" x2="0.5" y2="1">
<stop offset="0%" stop-color="#FAFAFA" />
<stop offset="100%" stop-color="#F4F4F5" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#pricing-card)" />
</svg>:root {
--pricing-card-1: #FAFAFA;
--pricing-card-2: #F4F4F5;
--pricing-card-angle: 180deg;
--pricing-card: linear-gradient(var(--pricing-card-angle), var(--pricing-card-1), var(--pricing-card-2));
}
.hero {
background: var(--pricing-card);
}$pricing-card-1: #FAFAFA;
$pricing-card-2: #F4F4F5;
$pricing-card: linear-gradient(180deg, $pricing-card-1, $pricing-card-2);
@mixin pricing-card-bg {
background: $pricing-card-1;
background: $pricing-card;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #FAFAFA | rgb(250, 250, 250) | hsl(0, 0%, 98%) |
| 2 | Off-white | #F4F4F5 | rgb(244, 244, 245) | hsl(240, 5%, 96%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Pricing Card gradient uses 2 colours: #FAFAFA and #F4F4F5, at an angle of 180°.
Paste background: linear-gradient(180deg, #FAFAFA, #F4F4F5); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 19.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.