Hex Color #A22858 - Custom Color
Color Codes
HEX
#A22858
RGB
rgb(162, 40, 88)
HSL
hsl(336, 60%, 40%)
CMYK
cmyk(0%, 75%, 46%, 36%)
HSV
hsv(336, 75%, 64%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.05:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.98: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: #A22858;
color: #A22858;
border-color: #A22858;
}
Tailwind CSS (with arbitrary values)
bg-[#A22858]
text-[#A22858]
border-[#A22858]
// Example usage:
<div className="bg-[#A22858]">