← All gradients
35%How it works
UI

Pricing Card

#FAFAFA
#F4F4F5
Text readability
Ui NeutralPastel

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 →

CSS
background: linear-gradient(180deg, #FAFAFA, #F4F4F5);
Tailwind
bg-gradient-to-b from-[#FAFAFA] to-[#F4F4F5]
Figma token
{
    "pricing-card": {
        "value": "linear-gradient(180deg, #FAFAFA 0%, #F4F4F5 100%)",
        "type": "color"
    }
}

Pricing Card gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Pricing Card gradient

StopNameHEXRGBHSL
1Off-white#FAFAFArgb(250, 250, 250)hsl(0, 0%, 98%)
2Off-white#F4F4F5rgb(244, 244, 245)hsl(240, 5%, 96%)

Pricing Card gradient in use

Build something beautifulA hero section on the Pricing Card gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Pricing Card gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Pricing Card gradient?

The Pricing Card gradient uses 2 colours: #FAFAFA and #F4F4F5, at an angle of 180°.

How do I use the Pricing Card gradient in CSS?

Paste background: linear-gradient(180deg, #FAFAFA, #F4F4F5); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Pricing Card gradient?

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.