What is hex #FEF2EF 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 100% red, 95% green and 94% blue, resulting in rgb(254, 242, 239) and hsl(12, 88%, 97%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 5%, 6%, 0%).
In the HSV/HSB scale, #FEF2EF features a hue of 12°, 6% saturation, and 100% brightness.
Hex #FEF2EF Color Codes & Conversions
| Closest Named Color | Sea Shell (#FFF5EE) |
| Hex Code | #FEF2EF |
| Hex8 (RGBA Hex) | #FEF2EFFF |
| RGB (CSS) | rgb(254, 242, 239) |
| RGBA (CSS) | rgba(254, 242, 239, 1) |
| HSL (CSS) | hsl(12, 88%, 97%) |
| HSLA (CSS) | hsla(12, 88%, 97%, 1) |
| HSV / HSB | (12°, 6%, 100%) |
| CMYK Values | (0%, 5%, 6%, 0%) |
| OKLCH (Modern CSS) | oklch(97.0% 0.014 34.3) |
| CIE-LAB (D65) | 96.33, 3.51, 2.88 |
| CIE XYZ | 88.20, 90.81, 94.53 |
| Decimal / Binary |
16708335
11111110 11110010 11101111 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFFFF [White] |
| Inverse Color | #010D10 |
| Complementary Color | #EFFBFE |
| Closest Pantone® | Pantone 7436 C |
| Closest RAL | RAL 9016 [Traffic white] |
#FEF2EF Grayscale Equivalents
| Average | #F5F5F5 [White Smoke] |
| Lightness (Desaturation) | #F7F7F7 |
| Weighted (BT601) | #F5F5F5 [White Smoke] |
| Luma (BT709) | #F4F4F4 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FEF2EF 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 #FEF2EF
Sample preview of readable typography on top of #FEF2EF.
Black Text on #FEF2EF
Sample preview of readable typography on top of #FEF2EF.
HTML / CSS Live Previews & Snippets for #FEF2EF
Preview #FEF2EF in real UI elements and copy ready-to-use CSS rules.
background-color: #FEF2EF;
color: #FEF2EF;
border: 2px solid #FEF2EF;
:root {
--color-primary: #FEF2EF;
--color-primary-rgb: 254, 242, 239;
--color-complementary: #EFFBFE;
}
.btn-accent {
background-color: #FEF2EF;
color: #000000;
}
Hex #FEF2EF Color Palettes
Complementary Palette
The complementary color of #FEF2EF is #EFFBFE. 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 #FEF2EF pairs with #FEEFF3 and #FEF9EF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FEF2EF pairs with #EFF3FE and #EFFEF9, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FEF2EF uses #F2EFFE and #EFFEF2, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FEF2EF combines #EFFEF2, #EFFBFE and #FEEFFB around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FEF2EF pairs with #F3FEEF, #EFFBFE and #F9EFFE spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FEF2EF
Tones
Tones are created by mixing #FEF2EF with gray, softening saturation.
Shades
Shades result from mixing #FEF2EF with black, creating deeper variations.
Hex #FEF2EF in Programming & CSS Frameworks
Copy the exact syntax for #FEF2EF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FEF2EF |
| Tailwind CSS | bg-[#FEF2EF] text-[#FEF2EF] |
| Java (AWT) | new Color(254,242,239); |
| Python | Color("#FEF2EF") |
| .NET (C#) | Color.FromArgb(255, 254,242,239); |
| Swift / iOS | UIColor(red: 1, green: 0.95, blue: 0.94, alpha: 1) |
| Kotlin / Android | Color.rgb(254, 242, 239) |