What is hex #FFE2BA color?

 
The hex code #FFE2BA 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, 226, 186) and hsl(35, 100%, 86%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 11%, 27%, 0%).
In the HSV/HSB scale, #FFE2BA features a hue of 35°, 27% saturation, and 100% brightness.

Hex #FFE2BA Color Codes & Conversions

Closest Named Color
Moccasin (#FFE4B5)
Hex Code #FFE2BA
Hex8 (RGBA Hex) #FFE2BAFF
RGB (CSS) rgb(255, 226, 186)
RGBA (CSS) rgba(255, 226, 186, 1)
HSL (CSS) hsl(35, 100%, 86%)
HSLA (CSS) hsla(35, 100%, 86%, 1)
HSV / HSB (35°, 27%, 100%)
CMYK Values (0%, 11%, 27%, 0%)
OKLCH (Modern CSS) oklch(92.7% 0.061 75.7)
CIE-LAB (D65) 91.32, 4.11, 23.23
CIE XYZ 77.30, 79.20, 57.66
Decimal / Binary 16769722
11111111 11100010 10111010

Closest Standards & Equivalents

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

#FFE2BA Grayscale Equivalents

Average
#DEDEDE
Lightness (Desaturation)
#DDDDDD
Weighted (BT601)
#E6E6E6
Luma (BT709)
#E5E5E5

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFE2BA.

Contrast Ratio: 1.25:1
AA Fail AAA Fail

Black Text on #FFE2BA

Sample preview of readable typography on top of #FFE2BA.

Contrast Ratio: 16.84:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFE2BA

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

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

Hex #FFE2BA Color Palettes

Complementary Palette

The complementary color of #FFE2BA is #BAD7FF. 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 #FFE2BA pairs with #FFBFBA and #F9FFBA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFE2BA uses #E2BAFF and #BAFFE2, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFE2BA combines #BAFFE2, #BAD7FF and #FFBAD7 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFE2BA pairs with #BAFFBF, #BAD7FF and #FFBAF9 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFE2BA

Tints

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

Tones

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

Shades

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

Hex #FFE2BA in Programming & CSS Frameworks

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

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