← All gradients
35%How it works
Curated

Carbon Fiber

#4A4D52
#222427
#0A0A0B
Text readability
Curated NeutralDark

Carbon Fiber is a neutral and dark 3-colour linear gradient that runs from grey (#4A4D52) through charcoal (#222427) to near-black (#0A0A0B) at 135°. It suits subtle surfaces and app backgrounds and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 14.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #4A4D52, #222427, #0A0A0B);
Tailwind
bg-gradient-to-br from-[#4A4D52] via-[#222427] to-[#0A0A0B]
Figma token
{
    "carbon-fiber": {
        "value": "linear-gradient(135deg, #4A4D52 0%, #222427 50%, #0A0A0B 100%)",
        "type": "color"
    }
}

Carbon Fiber gradient for SwiftUI, Flutter, Android and more

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

let carbonFiberGradient = LinearGradient(
    colors: [
        Color(red: 0.29, green: 0.302, blue: 0.322),
        Color(red: 0.133, green: 0.141, blue: 0.153),
        Color(red: 0.039, green: 0.039, blue: 0.043)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(carbonFiberGradient)

Colours in the Carbon Fiber gradient

StopNameHEXRGBHSL
1Grey#4A4D52rgb(74, 77, 82)hsl(218, 5%, 31%)
2Charcoal#222427rgb(34, 36, 39)hsl(216, 7%, 14%)
3Near-black#0A0A0Brgb(10, 10, 11)hsl(240, 5%, 4%)

Carbon Fiber gradient in use

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

Carbon Fiber 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 Carbon Fiber gradient?

The Carbon Fiber gradient uses 3 colours: #4A4D52, #222427 and #0A0A0B, at an angle of 135°.

How do I use the Carbon Fiber gradient in CSS?

Paste background: linear-gradient(135deg, #4A4D52, #222427, #0A0A0B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Carbon Fiber gradient?

White text has the best contrast, at 14.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.