Color #f0ecef
A nearly neutral, gray-leaning very light magenta.
Conversions
#f0ecef
rgb(240, 236, 239)
hsl(315, 11.8%, 93.3%)
hsv(315, 1.7%, 94.1%)
cmyk(0%, 1.7%, 0.4%, 5.9%)
lab(93.77, 1.87, -0.97)
lch(93.77, 2.11, 332.58)
oklch(94.7%, 0.0058, 333.43)
hwb(315, 92.5%, 5.9%)
Harmony colors
Accessibility
Black text reads better on this background (17.95:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#eeeeee · ΔE 2.8
Deuteranopia
#efefee · ΔE 3.3
Tritanopia
#f0eeee · ΔE 2
Achromatopsia
#ededed · ΔE 2.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f0ecef;
bg-[#f0ecef]
Related colors
Frequently asked questions
#f0ecef (#f0ecef) is rgb(240, 236, 239) in RGB.
No, #f0ecef 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 #f0ecef, or check how it holds up for accessibility.