CSS Named Color
Copy-ready color values
HEX
#F5F5F5RGB
rgb(245, 245, 245)HSL
hsl(0, 0%, 96%)HSV
hsv(0, 0%, 96%)CMYK approx.
cmyk(0, 0, 0, 4)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #F5F5F5 | |
| RGB | rgb(245, 245, 245) | |
| HSL | hsl(0, 0%, 96%) | |
| HSV | hsv(0, 0%, 96%) | |
| CMYK approx. | cmyk(0, 0, 0, 4) | |
| CSS keyword | whitesmoke |
Contrast and classification
LightLightness1.09:1Contrast with white19.26:1Contrast with blackGrayscaleColor family
Shade and tint preview
White 10%#F6F6F6
White 30%#F8F8F8
White 70%#FCFCFC
White 90%#FEFEFE
Black 10%#DDDDDD
Black 30%#ACACAC
Black 70%#4A4A4A
Black 90%#191919
Harmony palettes
Complementary
#0A0A0A#454545Analogous
#F5F5F5#F5F5F5Triadic
#F5F5F5#F5F5F5Split complementary
#363636#080808Using Whitesmoke
Whitesmoke works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-whitesmoke: #f5f5f5;
}
.button-primary {
background: var(--color-whitesmoke);
color: #000000;
}
$whitesmoke: #f5f5f5;
// Tailwind arbitrary value
class="bg-[#f5f5f5] text-white"