Hex Color #AA252A - Custom Color
Color Codes
HEX
#AA252A
RGB
rgb(170, 37, 42)
HSL
hsl(358, 64%, 41%)
CMYK
cmyk(0%, 78%, 75%, 33%)
HSV
hsv(358, 78%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.98:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.01: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: #AA252A;
color: #AA252A;
border-color: #AA252A;
}
Tailwind CSS (with arbitrary values)
bg-[#AA252A]
text-[#AA252A]
border-[#AA252A]
// Example usage:
<div className="bg-[#AA252A]">