Hex Color #E224DC - Custom Color
Color Codes
HEX
#E224DC
RGB
rgb(226, 36, 220)
HSL
hsl(302, 77%, 51%)
CMYK
cmyk(0%, 84%, 3%, 11%)
HSV
hsv(302, 84%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.80:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.52:1
Pass - WCAG AA (Normal Text)
Fail - 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: #E224DC;
color: #E224DC;
border-color: #E224DC;
}
Tailwind CSS (with arbitrary values)
bg-[#E224DC]
text-[#E224DC]
border-[#E224DC]
// Example usage:
<div className="bg-[#E224DC]">