Hex Color #C00DAC - Custom Color
Color Codes
HEX
#C00DAC
RGB
rgb(192, 13, 172)
HSL
hsl(307, 87%, 40%)
CMYK
cmyk(0%, 93%, 10%, 25%)
HSV
hsv(307, 93%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.39:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.89: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: #C00DAC;
color: #C00DAC;
border-color: #C00DAC;
}
Tailwind CSS (with arbitrary values)
bg-[#C00DAC]
text-[#C00DAC]
border-[#C00DAC]
// Example usage:
<div className="bg-[#C00DAC]">