← All gradients
35%How it works
UI

Charcoal Shale

#272729
#646468
Text readability
Ui NeutralDark

Charcoal Shale is a neutral and dark 2-colour linear gradient that runs from charcoal (#272729) to grey (#646468) at 160°. 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.5:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(160deg, #272729, #646468);
Tailwind
bg-[linear-gradient(160deg,#272729,#646468)]
Figma token
{
    "charcoal-shale": {
        "value": "linear-gradient(160deg, #272729 0%, #646468 100%)",
        "type": "color"
    }
}

Charcoal Shale gradient for SwiftUI, Flutter, Android and more

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

let charcoalShaleGradient = LinearGradient(
    colors: [
        Color(red: 0.153, green: 0.153, blue: 0.161),
        Color(red: 0.392, green: 0.392, blue: 0.408)
    ],
    startPoint: UnitPoint(x: 0.318, y: 0),
    endPoint: UnitPoint(x: 0.682, y: 1)
)

// Usage
Rectangle().fill(charcoalShaleGradient)

Colours in the Charcoal Shale gradient

StopNameHEXRGBHSL
1Charcoal#272729rgb(39, 39, 41)hsl(240, 3%, 16%)
2Grey#646468rgb(100, 100, 104)hsl(240, 2%, 40%)

Charcoal Shale gradient in use

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

Charcoal Shale 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 Charcoal Shale gradient?

The Charcoal Shale gradient uses 2 colours: #272729 and #646468, at an angle of 160°.

How do I use the Charcoal Shale gradient in CSS?

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

What text colour works on the Charcoal Shale gradient?

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