← All gradients
35%How it works
UI

Stats Card Red

#FFF1F2
#FFE4E6
Text readability
Ui WarmPastel

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 →

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

Stats Card Red gradient for SwiftUI, Flutter, Android and more

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)

Colours in the Stats Card Red gradient

StopNameHEXRGBHSL
1Off-white#FFF1F2rgb(255, 241, 242)hsl(356, 100%, 97%)
2Off-white#FFE4E6rgb(255, 228, 230)hsl(356, 100%, 95%)

Stats Card Red gradient in use

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

Stats Card Red 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 Stats Card Red gradient?

The Stats Card Red gradient uses 2 colours: #FFF1F2 and #FFE4E6, at an angle of 180°.

How do I use the Stats Card Red gradient in CSS?

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

What text colour works on the Stats Card Red gradient?

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.