Named color

Moccasin

Moccasin is a pastel orange color with HEX #FFE4B5. According to Colors Encyclopedia, it has RGB 255, 228, 181, HSL 38, 100%, 85%, warm temperature, and is useful for web design, CSS color systems, and UI prototyping.

HEX #FFE4B5
RGB rgb(255, 228, 181)
HSL hsl(38 100% 85%)
CMYK cmyk(0, 11, 29, 0)
Luminance 0.8008
Contrast Black 17.02:1White 1.23:1

CSS Utilities

--color-moccasin: #FFE4B5;
.bg-moccasin { background-color: #FFE4B5; }
.text-moccasin { color: #FFE4B5; }

Machine-readable data

Machine-Readable Color Data (JSON)

Perfect for CSS, design systems, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.8008
Black text17.02:1AA Pass
White text1.23:1AA Fail
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{
  "hex": "#FFE4B5",
  "rgb": [
    255,
    228,
    181
  ],
  "hsl": [
    38,
    100,
    85
  ],
  "cmyk": [
    0,
    11,
    29,
    0
  ],
  "luminance": 0.8008,
  "contrast": {
    "black": 17.02,
    "white": 1.23
  }
}
WCAG
{
  "AA": [
    "#000000",
    "#1A1A1A",
    "#36454F"
  ],
  "AAA": [
    "#000000",
    "#1A1A1A",
    "#36454F"
  ]
}
Harmonies
{
  "complementary": "#B3CFFF",
  "analogous": [
    "#FFBDB3",
    "#F5FFB3"
  ],
  "triadic": [
    "#B3FFE3",
    "#E3B3FF"
  ],
  "tetradic": [
    "#B3FFBD",
    "#B3CFFF",
    "#FFB3F5"
  ],
  "splitComplementary": [
    "#B3F5FF",
    "#BDB3FF"
  ],
  "monochromatic": [
    "#FFFFFF",
    "#FFE4B5",
    "#FFC157"
  ]
}
Variants
{
  "light": "#FFFFFF",
  "dark": "#FFC157",
  "saturated": "#FFE3B3",
  "desaturated": "#F7E1BB",
  "pastel": "#FFFFFF",
  "neon": "#FFF2DB"
}
Pairings
{
  "best": [
    "#000000",
    "#B3CFFF",
    "#FFBDB3",
    "#F5FFB3"
  ],
  "avoid": [
    "#F7E1BB",
    "#FFFFFF"
  ],
  "neutral": [
    "#1A1A1A",
    "#F5F5F5",
    "#E8E8E4"
  ],
  "highContrast": [
    "#000000"
  ],
  "lowContrast": [
    "#FFFFFF",
    "#F7E1BB"
  ]
}
Knowledge graph
{
  "nearestColors": [
    "peach",
    "navajo-white",
    "pastel-peach",
    "peach-puff",
    "wheat"
  ],
  "generatedPalettes": [
    "moccasin"
  ],
  "generatedComparisons": [
    "moccasin-vs-navajo-white",
    "moccasin-vs-peach",
    "pastel-peach-vs-moccasin",
    "peach-puff-vs-moccasin"
  ],
  "relatedFamilies": [
    "/colors/by-family/orange",
    "/colors/by-temperature/warm",
    "/colors/by-tone/pastel"
  ],
  "relatedTools": [
    "/harmonies/moccasin",
    "/wcag/moccasin",
    "/css/colors/moccasin",
    "/hex/ffe4b5"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/orange",
      "/colors/by-temperature/warm",
      "/colors/by-tone/pastel"
    ],
    "narrower": [
      "/palettes/moccasin"
    ],
    "related": [
      "/colors/peach",
      "/colors/navajo-white",
      "/colors/pastel-peach",
      "/colors/peach-puff",
      "/colors/wheat",
      "/compare/moccasin-vs-navajo-white",
      "/compare/moccasin-vs-peach",
      "/compare/pastel-peach-vs-moccasin",
      "/compare/peach-puff-vs-moccasin",
      "/harmonies/moccasin",
      "/wcag/moccasin",
      "/css/colors/moccasin",
      "/hex/ffe4b5"
    ]
  }
}
Full JSON dataset
{
  "slug": "moccasin",
  "name": "Moccasin",
  "cssName": "moccasin",
  "hex": "#FFE4B5",
  "family": "orange",
  "temperature": "warm",
  "tone": [
    "pastel"
  ],
  "uses": [
    "web design",
    "CSS color systems",
    "UI prototyping"
  ],
  "psychology": {
    "associations": [
      "context dependent"
    ],
    "contexts": [
      "web interfaces",
      "design systems",
      "technical color references"
    ],
    "avoidIn": [
      "claims that require brand or cultural specificity"
    ]
  },
  "aliases": [
    "moccasin"
  ],
  "sourceType": "standard",
  "confidence": "high",
  "sourceUrl": "https://www.w3.org/TR/css-color-4/#named-colors",
  "origin": {
    "type": "css",
    "notes": "Standard CSS named color."
  },
  "reviewStatus": "auto",
  "editorialNotes": "Generated from CSS named color data and computed color-system properties.",
  "tags": [
    "orange",
    "warm",
    "pastel",
    "web-design",
    "css-color-systems",
    "ui-prototyping",
    "context-dependent"
  ],
  "popularity": 67,
  "rgb": [
    255,
    228,
    181
  ],
  "hsl": [
    38,
    100,
    85
  ],
  "cmyk": [
    0,
    11,
    29,
    0
  ],
  "luminance": 0.8008,
  "contrast": {
    "black": 17.02,
    "white": 1.23
  },
  "harmonies": {
    "complementary": "#B3CFFF",
    "analogous": [
      "#FFBDB3",
      "#F5FFB3"
    ],
    "triadic": [
      "#B3FFE3",
      "#E3B3FF"
    ],
    "tetradic": [
      "#B3FFBD",
      "#B3CFFF",
      "#FFB3F5"
    ],
    "splitComplementary": [
      "#B3F5FF",
      "#BDB3FF"
    ],
    "monochromatic": [
      "#FFFFFF",
      "#FFE4B5",
      "#FFC157"
    ]
  },
  "variants": {
    "light": "#FFFFFF",
    "dark": "#FFC157",
    "saturated": "#FFE3B3",
    "desaturated": "#F7E1BB",
    "pastel": "#FFFFFF",
    "neon": "#FFF2DB"
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  "css": {
    "variable": "--color-moccasin: #FFE4B5;",
    "utility": ".bg-moccasin { background-color: #FFE4B5; }",
    "textUtility": ".text-moccasin { color: #FFE4B5; }"
  },
  "nearestColors": [
    "peach",
    "navajo-white",
    "pastel-peach",
    "peach-puff",
    "wheat"
  ],
  "generatedPalettes": [
    "moccasin"
  ],
  "generatedComparisons": [
    "moccasin-vs-navajo-white",
    "moccasin-vs-peach",
    "pastel-peach-vs-moccasin",
    "peach-puff-vs-moccasin"
  ],
  "relatedFamilies": [
    "/colors/by-family/orange",
    "/colors/by-temperature/warm",
    "/colors/by-tone/pastel"
  ],
  "relatedTools": [
    "/harmonies/moccasin",
    "/wcag/moccasin",
    "/css/colors/moccasin",
    "/hex/ffe4b5"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/orange",
      "/colors/by-temperature/warm",
      "/colors/by-tone/pastel"
    ],
    "narrower": [
      "/palettes/moccasin"
    ],
    "related": [
      "/colors/peach",
      "/colors/navajo-white",
      "/colors/pastel-peach",
      "/colors/peach-puff",
      "/colors/wheat",
      "/compare/moccasin-vs-navajo-white",
      "/compare/moccasin-vs-peach",
      "/compare/pastel-peach-vs-moccasin",
      "/compare/peach-puff-vs-moccasin",
      "/harmonies/moccasin",
      "/wcag/moccasin",
      "/css/colors/moccasin",
      "/hex/ffe4b5"
    ]
  },
  "pairings": {
    "best": [
      "#000000",
      "#B3CFFF",
      "#FFBDB3",
      "#F5FFB3"
    ],
    "avoid": [
      "#F7E1BB",
      "#FFFFFF"
    ],
    "neutral": [
      "#1A1A1A",
      "#F5F5F5",
      "#E8E8E4"
    ],
    "highContrast": [
      "#000000"
    ],
    "lowContrast": [
      "#FFFFFF",
      "#F7E1BB"
    ]
  }
}

Color meaning and use

About Moccasin Color

Moccasin sits in the orange family with warm temperature and pastel visual character. Standard CSS named color.

Its common associations include context dependent, which makes it relevant for web interfaces and design systems. In design work, Moccasin is most useful for web design, css color systems, and ui prototyping, especially when paired with black text for stronger contrast.

WCAG Accessibility

Contrast checks for Moccasin against black and white text.

Black text17.02:1AA Pass
White text1.23:1AA Fail
AA text options#000000, #1A1A1A, #36454F
AAA text options#000000, #1A1A1A, #36454F

Similar Colors

Color Harmonies

#B3CFFF#B3CFFF
#FFBDB3#FFBDB3
#F5FFB3#F5FFB3
#B3FFE3#B3FFE3
#E3B3FF#E3B3FF

Variants

White#FFFFFF
#FFC157#FFC157
#FFE3B3#FFE3B3
#F7E1BB#F7E1BB
White#FFFFFF
#FFF2DB#FFF2DB

Pairings

Black#000000
#B3CFFF#B3CFFF
#FFBDB3#FFBDB3
#F5FFB3#F5FFB3
Matte Black#1A1A1A
White Smoke#F5F5F5