Hex Color #EB3CD8 - Custom Color
Color Codes
HEX
#EB3CD8
RGB
rgb(235, 60, 216)
HSL
hsl(307, 81%, 58%)
CMYK
cmyk(0%, 74%, 8%, 8%)
HSV
hsv(307, 74%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.17: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: #EB3CD8;
color: #EB3CD8;
border-color: #EB3CD8;
}
Tailwind CSS (with arbitrary values)
bg-[#EB3CD8]
text-[#EB3CD8]
border-[#EB3CD8]
// Example usage:
<div className="bg-[#EB3CD8]">