What is hex #FFE2B4 color?

 
The hex code #FFE2B4 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 71% blue, resulting in rgb(255, 226, 180) and hsl(37, 100%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 11%, 29%, 0%).
In the HSV/HSB scale, #FFE2B4 features a hue of 37°, 29% saturation, and 100% brightness.

Hex #FFE2B4 Color Codes & Conversions

Closest Named Color
Moccasin (#FFE4B5)
Hex Code #FFE2B4
Hex8 (RGBA Hex) #FFE2B4FF
RGB (CSS) rgb(255, 226, 180)
RGBA (CSS) rgba(255, 226, 180, 1)
HSL (CSS) hsl(37, 100%, 85%)
HSLA (CSS) hsla(37, 100%, 85%, 1)
HSV / HSB (37°, 29%, 100%)
CMYK Values (0%, 11%, 29%, 0%)
OKLCH (Modern CSS) oklch(92.6% 0.068 79.2)
CIE-LAB (D65) 91.21, 3.33, 26.18
CIE XYZ 76.68, 78.95, 54.37
Decimal / Binary 16769716
11111111 11100010 10110100

Closest Standards & Equivalents

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

#FFE2B4 Grayscale Equivalents

Average
#DCDCDC [Gainsboro]
Lightness (Desaturation)
#DADADA
Weighted (BT601)
#E5E5E5
Luma (BT709)
#E5E5E5

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFE2B4.

Contrast Ratio: 1.25:1
AA Fail AAA Fail

Black Text on #FFE2B4

Sample preview of readable typography on top of #FFE2B4.

Contrast Ratio: 16.79:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFE2B4

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

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

Hex #FFE2B4 Color Palettes

Complementary Palette

The complementary color of #FFE2B4 is #B4D1FF. 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 #FFE2B4 pairs with #FFBCB4 and #F6FFB4, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFE2B4 uses #E2B4FF and #B4FFE2, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFE2B4 combines #B4FFE2, #B4D1FF and #FFB4D1 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFE2B4 pairs with #B4FFBC, #B4D1FF and #FFB4F6 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFE2B4

Tints

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

Tones

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

Shades

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

Hex #FFE2B4 in Programming & CSS Frameworks

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

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