Hex Color #AF2123 - Custom Color
Color Codes
HEX
#AF2123
RGB
rgb(175, 33, 35)
HSL
hsl(359, 68%, 41%)
CMYK
cmyk(0%, 81%, 80%, 31%)
HSV
hsv(359, 81%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.85:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.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: #AF2123;
color: #AF2123;
border-color: #AF2123;
}
Tailwind CSS (with arbitrary values)
bg-[#AF2123]
text-[#AF2123]
border-[#AF2123]
// Example usage:
<div className="bg-[#AF2123]">