All 139 CSS named colors

CSS defines 148 color keywords you can use by name in any stylesheet — from everyday values like red and white to oddballs like papayawhip, gainsboro and rebeccapurple. Nine of those keywords are alternate spellings (gray/grey and friends) that resolve to the same value, which leaves the 139 unique colors below, grouped by hue family and sorted around the color wheel.

Every swatch links to a full guide for that color: complementary, analogous and triadic palettes computed from its hue, a tints-and-shades scale, WCAG contrast ratios against black and white, a color-blindness preview, and copy-ready CSS and Tailwind snippets. If you'd rather start from a color of your own, the HueWiz picker builds the same palettes for any hex value.

Common color codes at a glance

Looking for a tan color code, black hex code, or a teal starting color? These are exact CSS named-color values. Open a color guide for RGB values, shades, matching palettes, and contrast examples.

“Light tan” is a descriptive shade, not a CSS color keyword. Compare tan, wheat (#F5DEB3), and bisque (#FFE4C4), or enter your exact hex value in the generator.

Turn a color code into a website palette

Build a palette from tan, assign surface, text, primary, secondary, and accent roles, then preview them on an interface. Check the actual pairs in the contrast checker and export a shade ramp with the Tailwind color generator. Follow the website palette guide for a worked example.

RedsOranges & brownsYellowsGreensCyans & tealsBluesPurples & violetsPinks & magentasWhites, grays & blacks

Reds 15

Oranges & browns 24

Yellows 15

Greens 20

Cyans & teals 15

Blues 22

Purples & violets 7

Pinks & magentas 12

Whites, grays & blacks 9