← All gradients
35%How it works
UI

Carbon Iron

#2B2822
#6C6458
Text readability
Ui NeutralDark

Carbon Iron is a neutral and dark 2-colour linear gradient that runs from charcoal (#2B2822) to grey (#6C6458) at 200°. It suits subtle surfaces and app backgrounds and dark-mode interfaces and footers. White text reads best on it, at a contrast ratio of 9.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(200deg, #2B2822, #6C6458);
Tailwind
bg-[linear-gradient(200deg,#2B2822,#6C6458)]
Figma token
{
    "carbon-iron": {
        "value": "linear-gradient(200deg, #2B2822 0%, #6C6458 100%)",
        "type": "color"
    }
}

Carbon Iron gradient for SwiftUI, Flutter, Android and more

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

let carbonIronGradient = LinearGradient(
    colors: [
        Color(red: 0.169, green: 0.157, blue: 0.133),
        Color(red: 0.424, green: 0.392, blue: 0.345)
    ],
    startPoint: UnitPoint(x: 0.682, y: 0),
    endPoint: UnitPoint(x: 0.318, y: 1)
)

// Usage
Rectangle().fill(carbonIronGradient)

Colours in the Carbon Iron gradient

StopNameHEXRGBHSL
1Charcoal#2B2822rgb(43, 40, 34)hsl(40, 12%, 15%)
2Grey#6C6458rgb(108, 100, 88)hsl(36, 10%, 38%)

Carbon Iron gradient in use

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

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

The Carbon Iron gradient uses 2 colours: #2B2822 and #6C6458, at an angle of 200°.

How do I use the Carbon Iron gradient in CSS?

Paste background: linear-gradient(200deg, #2B2822, #6C6458); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Carbon Iron gradient?

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