What is hex #FFE6BA color?

 
The hex code #FFE6BA 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, 90% green and 73% blue, resulting in rgb(255, 230, 186) and hsl(38, 100%, 86%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 10%, 27%, 0%).
In the HSV/HSB scale, #FFE6BA features a hue of 38°, 27% saturation, and 100% brightness.

Hex #FFE6BA Color Codes & Conversions

Closest Named Color
Moccasin (#FFE4B5)
Hex Code #FFE6BA
Hex8 (RGBA Hex) #FFE6BAFF
RGB (CSS) rgb(255, 230, 186)
RGBA (CSS) rgba(255, 230, 186, 1)
HSL (CSS) hsl(38, 100%, 86%)
HSLA (CSS) hsla(38, 100%, 86%, 1)
HSV / HSB (38°, 27%, 100%)
CMYK Values (0%, 10%, 27%, 0%)
OKLCH (Modern CSS) oklch(93.5% 0.063 81.7)
CIE-LAB (D65) 92.31, 2.06, 24.59
CIE XYZ 78.40, 81.40, 58.03
Decimal / Binary 16770746
11111111 11100110 10111010

Closest Standards & Equivalents

Closest Web Safe
#FFFFCC
Inverse Color
#001945
Complementary Color
#BAD3FF
Closest Pantone®
Pantone 7499 C
Closest RAL
RAL 1015 [Light ivory]

#FFE6BA Grayscale Equivalents

Average
#E0E0E0
Lightness (Desaturation)
#DDDDDD
Weighted (BT601)
#E8E8E8
Luma (BT709)
#E8E8E8

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFE6BA.

Contrast Ratio: 1.22:1
AA Fail AAA Fail

Black Text on #FFE6BA

Sample preview of readable typography on top of #FFE6BA.

Contrast Ratio: 17.28:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFE6BA

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

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

Hex #FFE6BA Color Palettes

Complementary Palette

The complementary color of #FFE6BA is #BAD3FF. 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 #FFE6BA pairs with #FFC3BA and #F5FFBA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFE6BA uses #E6BAFF and #BAFFE6, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFE6BA combines #BAFFE6, #BAD3FF and #FFBAD3 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFE6BA pairs with #BAFFC3, #BAD3FF and #FFBAF5 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFE6BA

Tints

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

Tones

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

Shades

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

Hex #FFE6BA in Programming & CSS Frameworks

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

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