What is hex #F0DFD8 color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 94% red, 87% green and 85% blue, resulting in rgb(240, 223, 216) and hsl(18, 44%, 89%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 10%, 6%).
In the HSV/HSB scale, #F0DFD8 features a hue of 18°, 10% saturation, and 94% brightness.
Hex #F0DFD8 Color Codes & Conversions
| Closest Named Color | Champagne Pink (#F1DDCF) |
| Hex Code | #F0DFD8 |
| Hex8 (RGBA Hex) | #F0DFD8FF |
| RGB (CSS) | rgb(240, 223, 216) |
| RGBA (CSS) | rgba(240, 223, 216, 1) |
| HSL (CSS) | hsl(18, 44%, 89%) |
| HSLA (CSS) | hsla(18, 44%, 89%, 1) |
| HSV / HSB | (18°, 10%, 94%) |
| CMYK Values | (0%, 7%, 10%, 6%) |
| OKLCH (Modern CSS) | oklch(91.5% 0.021 43.8) |
| CIE-LAB (D65) | 89.98, 4.65, 5.52 |
| CIE XYZ | 74.72, 76.26, 75.74 |
| Decimal / Binary |
15785944
11110000 11011111 11011000 |
WCAG 2.1 Color Contrast & Accessibility
Check how #F0DFD8 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #F0DFD8
Sample preview of readable typography on top of #F0DFD8.
Black Text on #F0DFD8
Sample preview of readable typography on top of #F0DFD8.
HTML / CSS Live Previews & Snippets for #F0DFD8
Preview #F0DFD8 in real UI elements and copy ready-to-use CSS rules.
background-color: #F0DFD8;
color: #F0DFD8;
border: 2px solid #F0DFD8;
:root {
--color-primary: #F0DFD8;
--color-primary-rgb: 240, 223, 216;
--color-complementary: #D8E9F0;
}
.btn-accent {
background-color: #F0DFD8;
color: #000000;
}
Hex #F0DFD8 Color Palettes
Complementary Palette
The complementary color of #F0DFD8 is #D8E9F0. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #F0DFD8 pairs with #F0D8DD and #F0EBD8, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #F0DFD8 pairs with #D8DDF0 and #D8F0EB, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #F0DFD8 uses #DFD8F0 and #D8F0DF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #F0DFD8 combines #D8F0DF, #D8E9F0 and #F0D8E9 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #F0DFD8 pairs with #DDF0D8, #D8E9F0 and #EBD8F0 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #F0DFD8
Tints
Tints are created by mixing #F0DFD8 with white, producing lighter variations.
Tones
Tones are created by mixing #F0DFD8 with gray, softening saturation.
Shades
Shades result from mixing #F0DFD8 with black, creating deeper variations.
Hex #F0DFD8 in Programming & CSS Frameworks
Copy the exact syntax for #F0DFD8 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #F0DFD8 |
| Tailwind CSS | bg-[#F0DFD8] text-[#F0DFD8] |
| Java (AWT) | new Color(240,223,216); |
| Python | Color("#F0DFD8") |
| .NET (C#) | Color.FromArgb(255, 240,223,216); |
| Swift / iOS | UIColor(red: 0.94, green: 0.87, blue: 0.85, alpha: 1) |
| Kotlin / Android | Color.rgb(240, 223, 216) |