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