What is hex #FFE4BA color?

 
The hex code #FFE4BA is closest to the named color Moccasin (#FFE4B5).
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, 89% green and 73% blue, resulting in rgb(255, 228, 186) and hsl(37, 100%, 86%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 11%, 27%, 0%).
In the HSV/HSB scale, #FFE4BA features a hue of 37°, 27% saturation, and 100% brightness.

Hex #FFE4BA Color Codes & Conversions

Closest Named Color
Moccasin (#FFE4B5)
Hex Code #FFE4BA
Hex8 (RGBA Hex) #FFE4BAFF
RGB (CSS) rgb(255, 228, 186)
RGBA (CSS) rgba(255, 228, 186, 1)
HSL (CSS) hsl(37, 100%, 86%)
HSLA (CSS) hsla(37, 100%, 86%, 1)
HSV / HSB (37°, 27%, 100%)
CMYK Values (0%, 11%, 27%, 0%)
OKLCH (Modern CSS) oklch(93.1% 0.062 78.8)
CIE-LAB (D65) 91.82, 3.08, 23.91
CIE XYZ 77.85, 80.29, 57.84
Decimal / Binary 16770234
11111111 11100100 10111010

Closest Standards & Equivalents

Closest Web Safe
#FFCCCC
Inverse Color
#001B45
Complementary Color
#BAD5FF
Closest Pantone®
Pantone 7499 C
Closest RAL
RAL 1015 [Light ivory]

#FFE4BA Grayscale Equivalents

Average
#DFDFDF
Lightness (Desaturation)
#DDDDDD
Weighted (BT601)
#E7E7E7
Luma (BT709)
#E7E7E7

WCAG 2.1 Color Contrast & Accessibility

Check how #FFE4BA 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 #FFE4BA

Sample preview of readable typography on top of #FFE4BA.

Contrast Ratio: 1.23:1
AA Fail AAA Fail

Black Text on #FFE4BA

Sample preview of readable typography on top of #FFE4BA.

Contrast Ratio: 17.06:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFE4BA

Preview #FFE4BA in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FFE4BA;
Typography Color Preview
color: #FFE4BA;
Border & Shadow Preview
border: 2px solid #FFE4BA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFE4BA;
  --color-primary-rgb: 255, 228, 186;
  --color-complementary: #BAD5FF;
}
.btn-accent {
  background-color: #FFE4BA;
  color: #000000;
}

Hex #FFE4BA Color Palettes

Complementary Palette

The complementary color of #FFE4BA is #BAD5FF. 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 #FFE4BA pairs with #FFC1BA and #F7FFBA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFE4BA pairs with #C1BAFF and #BAF7FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFE4BA uses #E4BAFF and #BAFFE4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFE4BA combines #BAFFE4, #BAD5FF and #FFBAD5 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFE4BA pairs with #BAFFC1, #BAD5FF and #FFBAF7 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFE4BA

Tints

Tints are created by mixing #FFE4BA with white, producing lighter variations.

Tones

Tones are created by mixing #FFE4BA with gray, softening saturation.

Shades

Shades result from mixing #FFE4BA with black, creating deeper variations.

Hex #FFE4BA in Programming & CSS Frameworks

Copy the exact syntax for #FFE4BA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FFE4BA
Tailwind CSS bg-[#FFE4BA] text-[#FFE4BA]
Java (AWT) new Color(255,228,186);
Python Color("#FFE4BA")
.NET (C#) Color.FromArgb(255, 255,228,186);
Swift / iOS UIColor(red: 1, green: 0.89, blue: 0.73, alpha: 1)
Kotlin / Android Color.rgb(255, 228, 186)