← All gradients
35%How it works
UI

Zinc Surface

#FAFAFA
#F4F4F5
Text readability
Ui NeutralPastel

Zinc Surface 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
{
    "zinc-surface": {
        "value": "linear-gradient(180deg, #FAFAFA 0%, #F4F4F5 100%)",
        "type": "color"
    }
}

Zinc Surface gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let zincSurfaceGradient = 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(zincSurfaceGradient)

Colours in the Zinc Surface gradient

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

Zinc Surface gradient in use

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

Zinc Surface 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 Zinc Surface gradient?

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

How do I use the Zinc Surface 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 Zinc Surface 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.