Hex Color #E4CFAC - Custom Color
Color Codes
HEX
#E4CFAC
RGB
rgb(228, 207, 172)
HSL
hsl(37, 51%, 78%)
CMYK
cmyk(0%, 9%, 25%, 11%)
HSV
hsv(37, 25%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.52:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.82: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: #E4CFAC;
color: #E4CFAC;
border-color: #E4CFAC;
}
Tailwind CSS (with arbitrary values)
bg-[#E4CFAC]
text-[#E4CFAC]
border-[#E4CFAC]
// Example usage:
<div className="bg-[#E4CFAC]">