Hex Color #BA481C - Custom Color
Color Codes
HEX
#BA481C
RGB
rgb(186, 72, 28)
HSL
hsl(17, 74%, 42%)
CMYK
cmyk(0%, 61%, 85%, 27%)
HSV
hsv(17, 85%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.21:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.03: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: #BA481C;
color: #BA481C;
border-color: #BA481C;
}
Tailwind CSS (with arbitrary values)
bg-[#BA481C]
text-[#BA481C]
border-[#BA481C]
// Example usage:
<div className="bg-[#BA481C]">