Hex Color #EC2CFA - Custom Color
Color Codes
HEX
#EC2CFA
RGB
rgb(236, 44, 250)
HSL
hsl(296, 95%, 58%)
CMYK
cmyk(6%, 82%, 0%, 2%)
HSV
hsv(296, 82%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.33:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.31: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: #EC2CFA;
color: #EC2CFA;
border-color: #EC2CFA;
}
Tailwind CSS (with arbitrary values)
bg-[#EC2CFA]
text-[#EC2CFA]
border-[#EC2CFA]
// Example usage:
<div className="bg-[#EC2CFA]">