Hex Color #E2DEDC - Custom Color
Color Codes
HEX
#E2DEDC
RGB
rgb(226, 222, 220)
HSL
hsl(20, 9%, 87%)
CMYK
cmyk(0%, 2%, 3%, 11%)
HSV
hsv(20, 3%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.72:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #E2DEDC;
color: #E2DEDC;
border-color: #E2DEDC;
}
Tailwind CSS (with arbitrary values)
bg-[#E2DEDC]
text-[#E2DEDC]
border-[#E2DEDC]
// Example usage:
<div className="bg-[#E2DEDC]">