Hex Color #C452AE - Custom Color
Color Codes
HEX
#C452AE
RGB
rgb(196, 82, 174)
HSL
hsl(312, 49%, 55%)
CMYK
cmyk(0%, 58%, 11%, 23%)
HSV
hsv(312, 58%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.07:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.17: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: #C452AE;
color: #C452AE;
border-color: #C452AE;
}
Tailwind CSS (with arbitrary values)
bg-[#C452AE]
text-[#C452AE]
border-[#C452AE]
// Example usage:
<div className="bg-[#C452AE]">