Hex Color #CA24C4 - Custom Color
Color Codes
HEX
#CA24C4
RGB
rgb(202, 36, 196)
HSL
hsl(302, 70%, 47%)
CMYK
cmyk(0%, 82%, 3%, 21%)
HSV
hsv(302, 82%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.60:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.56: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: #CA24C4;
color: #CA24C4;
border-color: #CA24C4;
}
Tailwind CSS (with arbitrary values)
bg-[#CA24C4]
text-[#CA24C4]
border-[#CA24C4]
// Example usage:
<div className="bg-[#CA24C4]">