Hex Color #C02CAA - Custom Color
Color Codes
HEX
#C02CAA
RGB
rgb(192, 44, 170)
HSL
hsl(309, 63%, 46%)
CMYK
cmyk(0%, 77%, 11%, 25%)
HSV
hsv(309, 77%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.02:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.18: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: #C02CAA;
color: #C02CAA;
border-color: #C02CAA;
}
Tailwind CSS (with arbitrary values)
bg-[#C02CAA]
text-[#C02CAA]
border-[#C02CAA]
// Example usage:
<div className="bg-[#C02CAA]">