Hex Color #E0798E - Custom Color
Color Codes
HEX
#E0798E
RGB
rgb(224, 121, 142)
HSL
hsl(348, 62%, 68%)
CMYK
cmyk(0%, 46%, 37%, 12%)
HSV
hsv(348, 46%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.30:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #E0798E;
color: #E0798E;
border-color: #E0798E;
}
Tailwind CSS (with arbitrary values)
bg-[#E0798E]
text-[#E0798E]
border-[#E0798E]
// Example usage:
<div className="bg-[#E0798E]">