Hex Color #AF240D - Custom Color
Color Codes
HEX
#AF240D
RGB
rgb(175, 36, 13)
HSL
hsl(9, 86%, 37%)
CMYK
cmyk(0%, 79%, 93%, 31%)
HSV
hsv(9, 93%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.82:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.08: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: #AF240D;
color: #AF240D;
border-color: #AF240D;
}
Tailwind CSS (with arbitrary values)
bg-[#AF240D]
text-[#AF240D]
border-[#AF240D]
// Example usage:
<div className="bg-[#AF240D]">