Color #f0f0f0
A nearly neutral, gray-leaning very light red.
Conversions
#f0f0f0
rgb(240, 240, 240)
hsl(0, 0%, 94.1%)
hsv(0, 0%, 94.1%)
cmyk(0%, 0%, 0%, 5.9%)
lab(94.8, -0, 0)
lch(94.8, 0, 180)
oklch(95.5%, 0, 0)
hwb(0, 94.1%, 5.9%)
Harmony colors
Accessibility
Black text reads better on this background (18.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#f0f0f0 · ΔE 0
Deuteranopia
#f0f0f0 · ΔE 0
Tritanopia
#f0f0f0 · ΔE 0
Achromatopsia
#f0f0f0 · ΔE 0
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f0f0f0;
bg-[#f0f0f0]
Related colors
Frequently asked questions
#f0f0f0 (#f0f0f0) is rgb(240, 240, 240) in RGB.
No, #f0f0f0 is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #f0f0f0, or check how it holds up for accessibility.