A bright gray called lightgray in CSS. It's soft and understated. It's great for borders, backgrounds and Scandinavian-style walls.
Also known as: light grey, lightgray.
Light gray (#D3D3D3) is a neutral, light, almost unsaturated color. It belongs to the grays family. It mixes 211 red, 211 green and 211 blue (out of 255). It is mostly used in web, home decor.
From lightest to darkest. Tap a shade to copy its code.
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--light-gray: #D3D3D3;
--light-gray-rgb: 211, 211, 211;
}
.bg { background-color: var(--light-gray); }
.text { color: var(--light-gray); }The hex code for light gray is #D3D3D3. In RGB it is rgb(211, 211, 211), in HSL hsl(0, 0%, 83%) and in CMYK 0, 0, 0, 17.
Its complement on the color wheel is #D3D3D3, close to light gray. Used in small doses, it works as an accent and adds strong contrast.
Use black text instead: the contrast with white is only 1.5:1, while with black it is 14.0:1.