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