Hex Color #CA1C8C - Custom Color
Color Codes
HEX
#CA1C8C
RGB
rgb(202, 28, 140)
HSL
hsl(321, 76%, 45%)
CMYK
cmyk(0%, 86%, 31%, 21%)
HSV
hsv(321, 86%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.18:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.06: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: #CA1C8C;
color: #CA1C8C;
border-color: #CA1C8C;
}
Tailwind CSS (with arbitrary values)
bg-[#CA1C8C]
text-[#CA1C8C]
border-[#CA1C8C]
// Example usage:
<div className="bg-[#CA1C8C]">