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