Hex Color #A0172D - Custom Color
Color Codes
HEX
#A0172D
RGB
rgb(160, 23, 45)
HSL
hsl(350, 75%, 36%)
CMYK
cmyk(0%, 86%, 72%, 37%)
HSV
hsv(350, 86%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.91:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.66: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: #A0172D;
color: #A0172D;
border-color: #A0172D;
}
Tailwind CSS (with arbitrary values)
bg-[#A0172D]
text-[#A0172D]
border-[#A0172D]
// Example usage:
<div className="bg-[#A0172D]">