Hex Color #A01827 - Custom Color
Color Codes
HEX
#A01827
RGB
rgb(160, 24, 39)
HSL
hsl(353, 74%, 36%)
CMYK
cmyk(0%, 85%, 76%, 37%)
HSV
hsv(353, 85%, 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.65: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: #A01827;
color: #A01827;
border-color: #A01827;
}
Tailwind CSS (with arbitrary values)
bg-[#A01827]
text-[#A01827]
border-[#A01827]
// Example usage:
<div className="bg-[#A01827]">