Hex Color #C52274 - Custom Color
Color Codes
HEX
#C52274
RGB
rgb(197, 34, 116)
HSL
hsl(330, 71%, 45%)
CMYK
cmyk(0%, 83%, 41%, 23%)
HSV
hsv(330, 83%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.45:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.86: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: #C52274;
color: #C52274;
border-color: #C52274;
}
Tailwind CSS (with arbitrary values)
bg-[#C52274]
text-[#C52274]
border-[#C52274]
// Example usage:
<div className="bg-[#C52274]">