Grey
Grey is a medium neutral gray color with the hex code #808080 (hue 0°, saturation 0%, lightness 50%). It is also the CSS named color grey.
- HEX
#808080 - RGB
rgb(128 128 128) - HSL
hsl(0 0% 50%) - OKLCH
oklch(60.0% 0.000 0)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Grey | #808080 | 128, 128, 128 | 0°, 0%, 50% | 0, 0, 0, 50 | 60.0% 0.000 0 |
Contrast with white text 3.95:1, with black text 5.32:1 — use black text on Grey.
grey is one of the 148 named colors in CSS, with exactly this value, so color: grey works in any browser without a hex code.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Grey
Move the sliders to make Grey lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#808080 - RGB
rgb(128 128 128) - HSL
hsl(0 0% 50%)
Variations of Grey
Text on Grey
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Grey with color blindness
How Grey appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Grey
Six color schemes built on Grey with classic harmony rules. The complementary scheme pairs it with Meadowbrook (#60A0A3), the color opposite it on the color wheel.
- Grey Complementary Color Scheme#808080#C4989E#60A0A3#456F6E#A4C7C8
- Grey Analogous Color Scheme#A063A1#A16381#808080#A18162#A0A160
- Grey Triadic Color Scheme#808080#73A263#6264A6#C6A4A4#476E42
- Grey Split-complementary Color Scheme#808080#64A281#6081A2#704341#8EBAA6
- Grey Tetradic Color Scheme#808080#89A068#60A0A3#9264A2#C6A4A4
- Grey Monochromatic Color Scheme#343434#5B5B59#808080#A6A6A6#CDCDCD
Nearest CSS named colors
- Slate Gray (
slategray): Slate Gray (#708090) is about as light as Grey (relative luminance 0.209 vs 0.216) and more saturated. - Light Slate Gray (
lightslategray): Light Slate Gray (#778899) is lighter than Grey (relative luminance 0.238 vs 0.216) and more saturated. - Dim Gray (
dimgray): Dim Gray (#696969) is darker than Grey (relative luminance 0.141 vs 0.216) and equally saturated. - Cadet Blue (
cadetblue): Cadet Blue (#5F9EA0) is lighter than Grey (relative luminance 0.294 vs 0.216) and more saturated.
Gradients with Grey
Similar medium gray colors
- Abandoned Spaceship#747A8A
- Acoustic Brown#766B69
- Alley Cat#656874
- Aloe Tip#8A9480
- Aluminium#848789
- Amorous#967D96
- Anchovy#756F6B
- Archaeology#6E6A5E
- Argent#888888
- Armour#74857F
- Armoury#6A6B65
- Ashen Whisper#646B7A
- Bank Vault#757374
- Bat Wing#7E7466
- Batman#656E72
- Beautiful Darkness#686D70
- Black Mana#858585
- Blue Blood#6B7F81
Questions
What is the hex code for Grey?
#808080 — RGB 128, 128, 128, HSL 0°, 0%, 50%.
Is Grey a warm or cool color?
Warm — its hue sits at 0° on the color wheel.