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