Reference

140 CSS Color Names

The classic 140 named colors, plus rebeccapurple — added in CSS Color Module 4, making 141 in total — recognized by every browser and grouped by family with hex, RGB and HSL for each.

Pink

NameHexRGBHSL
#FFC0CB Pink #FFC0CB 255, 192, 203 350°, 100%, 88%
#FFB6C1 Light Pink #FFB6C1 255, 182, 193 351°, 100%, 86%
#FF69B4 Hot Pink #FF69B4 255, 105, 180 330°, 100%, 71%
#FF1493 Deep Pink #FF1493 255, 20, 147 328°, 100%, 54%
#DB7093 Pale Violet Red #DB7093 219, 112, 147 340°, 60%, 65%
#C71585 Medium Violet Red #C71585 199, 21, 133 322°, 81%, 43%

Red

NameHexRGBHSL
#FFA07A Light Salmon #FFA07A 255, 160, 122 17°, 100%, 74%
#FA8072 Salmon #FA8072 250, 128, 114 6°, 93%, 71%
#E9967A Dark Salmon #E9967A 233, 150, 122 15°, 72%, 70%
#F08080 Light Coral #F08080 240, 128, 128 0°, 79%, 72%
#CD5C5C Indian Red #CD5C5C 205, 92, 92 0°, 53%, 58%
#DC143C Crimson #DC143C 220, 20, 60 348°, 83%, 47%
#B22222 Fire Brick #B22222 178, 34, 34 0°, 68%, 42%
#8B0000 Dark Red #8B0000 139, 0, 0 0°, 100%, 27%
#FF0000 Red #FF0000 255, 0, 0 0°, 100%, 50%

Orange

NameHexRGBHSL
#FF4500 Orange Red #FF4500 255, 69, 0 16°, 100%, 50%
#FF6347 Tomato #FF6347 255, 99, 71 9°, 100%, 64%
#FF7F50 Coral #FF7F50 255, 127, 80 16°, 100%, 66%
#FF8C00 Dark Orange #FF8C00 255, 140, 0 33°, 100%, 50%
#FFA500 Orange #FFA500 255, 165, 0 39°, 100%, 50%

Yellow

NameHexRGBHSL
#FFFF00 Yellow #FFFF00 255, 255, 0 60°, 100%, 50%
#FFFFE0 Light Yellow #FFFFE0 255, 255, 224 60°, 100%, 94%
#FFFACD Lemon Chiffon #FFFACD 255, 250, 205 54°, 100%, 90%
#FAFAD2 Light Goldenrod Yellow #FAFAD2 250, 250, 210 60°, 80%, 90%
#FFEFD5 Papaya Whip #FFEFD5 255, 239, 213 37°, 100%, 92%
#FFE4B5 Moccasin #FFE4B5 255, 228, 181 38°, 100%, 85%
#FFDAB9 Peach Puff #FFDAB9 255, 218, 185 28°, 100%, 86%
#EEE8AA Pale Goldenrod #EEE8AA 238, 232, 170 55°, 67%, 80%
#F0E68C Khaki #F0E68C 240, 230, 140 54°, 77%, 75%
#BDB76B Dark Khaki #BDB76B 189, 183, 107 56°, 38%, 58%
#FFD700 Gold #FFD700 255, 215, 0 51°, 100%, 50%

Brown

NameHexRGBHSL
#FFF8DC Cornsilk #FFF8DC 255, 248, 220 48°, 100%, 93%
#FFEBCD Blanched Almond #FFEBCD 255, 235, 205 36°, 100%, 90%
#FFE4C4 Bisque #FFE4C4 255, 228, 196 33°, 100%, 88%
#FFDEAD Navajo White #FFDEAD 255, 222, 173 36°, 100%, 84%
#F5DEB3 Wheat #F5DEB3 245, 222, 179 39°, 77%, 83%
#DEB887 Burly Wood #DEB887 222, 184, 135 34°, 57%, 70%
#D2B48C Tan #D2B48C 210, 180, 140 34°, 44%, 69%
#BC8F8F Rosy Brown #BC8F8F 188, 143, 143 0°, 25%, 65%
#F4A460 Sandy Brown #F4A460 244, 164, 96 28°, 87%, 67%
#DAA520 Goldenrod #DAA520 218, 165, 32 43°, 74%, 49%
#B8860B Dark Goldenrod #B8860B 184, 134, 11 43°, 89%, 38%
#CD853F Peru #CD853F 205, 133, 63 30°, 59%, 53%
#D2691E Chocolate #D2691E 210, 105, 30 25°, 75%, 47%
#8B4513 Saddle Brown #8B4513 139, 69, 19 25°, 76%, 31%
#A0522D Sienna #A0522D 160, 82, 45 19°, 56%, 40%
#A52A2A Brown #A52A2A 165, 42, 42 0°, 59%, 41%
#800000 Maroon #800000 128, 0, 0 0°, 100%, 25%

Green

NameHexRGBHSL
#556B2F Dark Olive Green #556B2F 85, 107, 47 82°, 39%, 30%
#808000 Olive #808000 128, 128, 0 60°, 100%, 25%
#6B8E23 Olive Drab #6B8E23 107, 142, 35 80°, 60%, 35%
#9ACD32 Yellow Green #9ACD32 154, 205, 50 80°, 61%, 50%
#32CD32 Lime Green #32CD32 50, 205, 50 120°, 61%, 50%
#00FF00 Lime #00FF00 0, 255, 0 120°, 100%, 50%
#7CFC00 Lawn Green #7CFC00 124, 252, 0 90°, 100%, 49%
#7FFF00 Chartreuse #7FFF00 127, 255, 0 90°, 100%, 50%
#ADFF2F Green Yellow #ADFF2F 173, 255, 47 84°, 100%, 59%
#00FF7F Spring Green #00FF7F 0, 255, 127 150°, 100%, 50%
#00FA9A Medium Spring Green #00FA9A 0, 250, 154 157°, 100%, 49%
#90EE90 Light Green #90EE90 144, 238, 144 120°, 73%, 75%
#98FB98 Pale Green #98FB98 152, 251, 152 120°, 93%, 79%
#8FBC8F Dark Sea Green #8FBC8F 143, 188, 143 120°, 25%, 65%
#66CDAA Medium Aquamarine #66CDAA 102, 205, 170 160°, 51%, 60%
#3CB371 Medium Sea Green #3CB371 60, 179, 113 147°, 50%, 47%
#2E8B57 Sea Green #2E8B57 46, 139, 87 146°, 50%, 36%
#228B22 Forest Green #228B22 34, 139, 34 120°, 61%, 34%
#008000 Green #008000 0, 128, 0 120°, 100%, 25%
#006400 Dark Green #006400 0, 100, 0 120°, 100%, 20%

Cyan

NameHexRGBHSL
#00FFFF Aqua #00FFFF 0, 255, 255 180°, 100%, 50%
#00FFFF Cyan #00FFFF 0, 255, 255 180°, 100%, 50%
#E0FFFF Light Cyan #E0FFFF 224, 255, 255 180°, 100%, 94%
#AFEEEE Pale Turquoise #AFEEEE 175, 238, 238 180°, 65%, 81%
#7FFFD4 Aquamarine #7FFFD4 127, 255, 212 160°, 100%, 75%
#40E0D0 Turquoise #40E0D0 64, 224, 208 174°, 72%, 56%
#48D1CC Medium Turquoise #48D1CC 72, 209, 204 178°, 60%, 55%
#00CED1 Dark Turquoise #00CED1 0, 206, 209 181°, 100%, 41%
#20B2AA Light Sea Green #20B2AA 32, 178, 170 177°, 70%, 41%
#5F9EA0 Cadet Blue #5F9EA0 95, 158, 160 182°, 25%, 50%
#008B8B Dark Cyan #008B8B 0, 139, 139 180°, 100%, 27%
#008080 Teal #008080 0, 128, 128 180°, 100%, 25%

Blue

NameHexRGBHSL
#B0C4DE Light Steel Blue #B0C4DE 176, 196, 222 214°, 41%, 78%
#B0E0E6 Powder Blue #B0E0E6 176, 224, 230 187°, 52%, 80%
#ADD8E6 Light Blue #ADD8E6 173, 216, 230 195°, 53%, 79%
#87CEEB Sky Blue #87CEEB 135, 206, 235 197°, 71%, 73%
#87CEFA Light Sky Blue #87CEFA 135, 206, 250 203°, 92%, 75%
#00BFFF Deep Sky Blue #00BFFF 0, 191, 255 195°, 100%, 50%
#1E90FF Dodger Blue #1E90FF 30, 144, 255 210°, 100%, 56%
#6495ED Cornflower Blue #6495ED 100, 149, 237 219°, 79%, 66%
#4682B4 Steel Blue #4682B4 70, 130, 180 207°, 44%, 49%
#4169E1 Royal Blue #4169E1 65, 105, 225 225°, 73%, 57%
#0000FF Blue #0000FF 0, 0, 255 240°, 100%, 50%
#0000CD Medium Blue #0000CD 0, 0, 205 240°, 100%, 40%
#00008B Dark Blue #00008B 0, 0, 139 240°, 100%, 27%
#000080 Navy #000080 0, 0, 128 240°, 100%, 25%
#191970 Midnight Blue #191970 25, 25, 112 240°, 64%, 27%
#7B68EE Medium Slate Blue #7B68EE 123, 104, 238 249°, 80%, 67%
#6A5ACD Slate Blue #6A5ACD 106, 90, 205 248°, 53%, 58%
#483D8B Dark Slate Blue #483D8B 72, 61, 139 248°, 39%, 39%

Purple

NameHexRGBHSL
#E6E6FA Lavender #E6E6FA 230, 230, 250 240°, 67%, 94%
#D8BFD8 Thistle #D8BFD8 216, 191, 216 300°, 24%, 80%
#DDA0DD Plum #DDA0DD 221, 160, 221 300°, 47%, 75%
#EE82EE Violet #EE82EE 238, 130, 238 300°, 76%, 72%
#DA70D6 Orchid #DA70D6 218, 112, 214 302°, 59%, 65%
#FF00FF Fuchsia #FF00FF 255, 0, 255 300°, 100%, 50%
#FF00FF Magenta #FF00FF 255, 0, 255 300°, 100%, 50%
#BA55D3 Medium Orchid #BA55D3 186, 85, 211 288°, 59%, 58%
#9370DB Medium Purple #9370DB 147, 112, 219 260°, 60%, 65%
#8A2BE2 Blue Violet #8A2BE2 138, 43, 226 271°, 76%, 53%
#9400D3 Dark Violet #9400D3 148, 0, 211 282°, 100%, 41%
#9932CC Dark Orchid #9932CC 153, 50, 204 280°, 61%, 50%
#8B008B Dark Magenta #8B008B 139, 0, 139 300°, 100%, 27%
#800080 Purple #800080 128, 0, 128 300°, 100%, 25%
#4B0082 Indigo #4B0082 75, 0, 130 275°, 100%, 25%
#663399 Rebecca Purple #663399 102, 51, 153 270°, 50%, 40%

White

NameHexRGBHSL
#FFFFFF White #FFFFFF 255, 255, 255 0°, 0%, 100%
#FFFAFA Snow #FFFAFA 255, 250, 250 0°, 100%, 99%
#F0FFF0 Honey Dew #F0FFF0 240, 255, 240 120°, 100%, 97%
#F5FFFA Mint Cream #F5FFFA 245, 255, 250 150°, 100%, 98%
#F0FFFF Azure #F0FFFF 240, 255, 255 180°, 100%, 97%
#F0F8FF Alice Blue #F0F8FF 240, 248, 255 208°, 100%, 97%
#F8F8FF Ghost White #F8F8FF 248, 248, 255 240°, 100%, 99%
#F5F5F5 White Smoke #F5F5F5 245, 245, 245 0°, 0%, 96%
#FFF5EE Sea Shell #FFF5EE 255, 245, 238 25°, 100%, 97%
#F5F5DC Beige #F5F5DC 245, 245, 220 60°, 56%, 91%
#FDF5E6 Old Lace #FDF5E6 253, 245, 230 39°, 85%, 95%
#FFFAF0 Floral White #FFFAF0 255, 250, 240 40°, 100%, 97%
#FFFFF0 Ivory #FFFFF0 255, 255, 240 60°, 100%, 97%
#FAEBD7 Antique White #FAEBD7 250, 235, 215 34°, 78%, 91%
#FAF0E6 Linen #FAF0E6 250, 240, 230 30°, 67%, 94%
#FFF0F5 Lavender Blush #FFF0F5 255, 240, 245 340°, 100%, 97%
#FFE4E1 Misty Rose #FFE4E1 255, 228, 225 6°, 100%, 94%

Gray & Black

NameHexRGBHSL
#DCDCDC Gainsboro #DCDCDC 220, 220, 220 0°, 0%, 86%
#D3D3D3 Light Gray #D3D3D3 211, 211, 211 0°, 0%, 83%
#C0C0C0 Silver #C0C0C0 192, 192, 192 0°, 0%, 75%
#A9A9A9 Dark Gray #A9A9A9 169, 169, 169 0°, 0%, 66%
#808080 Gray #808080 128, 128, 128 0°, 0%, 50%
#696969 Dim Gray #696969 105, 105, 105 0°, 0%, 41%
#778899 Light Slate Gray #778899 119, 136, 153 210°, 14%, 53%
#708090 Slate Gray #708090 112, 128, 144 210°, 13%, 50%
#2F4F4F Dark Slate Gray #2F4F4F 47, 79, 79 180°, 25%, 25%
#000000 Black #000000 0, 0, 0 0°, 0%, 0%

What the CSS color names are

CSS color names — also called HTML color names, named colors or web color keywords — are plain-English words you can use anywhere a CSS color value is expected, in place of a hex code or rgb() function. Writing color: teal is exactly equivalent to color: #008080 or color: rgb(0, 128, 128); the browser resolves the keyword to a fixed value defined in the specification. There are 140 of these keywords, plus rebeccapurple (#663399), added to CSS Color Module Level 4 in memory of web pioneer Eric Meyer's daughter, for 141 in total. Every current browser recognizes all of them, and they are case-insensitive.

The list has quirks worth knowing. Several names are synonyms that resolve to the identical value — cyan and aqua are both #00FFFF, magenta and fuchsia are both #FF00FF, and gray, grey and their compounds (darkgray/darkgrey) are interchangeable. A few are famously counter-intuitive: darkgray (#A9A9A9) is actually lighter than plain gray (#808080), and green is a deep #008000, not the bright #00FF00 that most people expect — that one is lime.

Should you use color names or hex codes?

For production work, hex codes and custom properties are the norm: a design almost never lands exactly on one of the 140 keywords, and teams need precise, tokenized values. Color names earn their place in other situations — quick prototypes and demos where readability beats precision, teaching and documentation where rebeccapurple communicates better than #663399, debugging where a glaring hotpink border marks an element instantly, and fallback values. They are also a useful vocabulary: knowing that a mock-up's blue is close to steelblue or cornflowerblue gives you a starting point to describe and refine it.

If you have a hex code and want to know which keyword is nearest, paste it into the color converter — it reports the closest named color automatically — or use color name from image to name a color straight from a screenshot. To go the other way and turn a keyword into a full palette, open it in the color picker or the palette generator.

How this list is organized

The table above groups all 141 names into color families — reds and pinks, oranges and browns, yellows, greens, blues and cyans, purples, plus whites, grays and blacks — and within each family the colors run roughly light to dark. Every row gives the keyword, its hex code, its RGB triple and its HSL value, so you can copy whichever format your project uses. Use the filter box at the top to jump to a name or a hex value, or the family links to skip to a section.

For named colors beyond the CSS keyword list — coral, sage, terracotta, mauve and hundreds more design and paint names — browse the color library, which groups 245+ shades by family and gives each its own page with harmonies, tints and shades. For ready-made UI systems, see the Tailwind and Material Design charts. And before using any name for text, check the pairing against its background in the contrast checker.

Color name FAQ

How many CSS color names are there?

There are 140 standard named colors in CSS, plus rebeccapurple, which was added in CSS Color Module 4 — 141 in total. Every modern browser recognizes all of them.

Can I use color names instead of hex codes in CSS?

Yes. A named color works anywhere a CSS color value is valid, for example color: cornflowerblue. It renders identically to its hex equivalent (#6495ED).

What is rebeccapurple?

rebeccapurple (#663399) was added to CSS in 2014 in memory of Rebecca Meyer, daughter of web-standards author Eric Meyer. It is the only color name added since the original set.

Are CSS color names case-sensitive?

No. RebeccaPurple, rebeccapurple and REBECCAPURPLE are all valid and produce the same color.

Which named colors are duplicates?

Several names are aliases for the same value — for example gray and grey, aqua and cyan, magenta and fuchsia, and darkgray and darkgrey.