Hex Color #BA5827 - Custom Color
Color Codes
HEX
#BA5827
RGB
rgb(186, 88, 39)
HSL
hsl(20, 65%, 44%)
CMYK
cmyk(0%, 53%, 79%, 27%)
HSV
hsv(20, 79%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.65:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.51:1
Pass - 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: #BA5827;
color: #BA5827;
border-color: #BA5827;
}
Tailwind CSS (with arbitrary values)
bg-[#BA5827]
text-[#BA5827]
border-[#BA5827]
// Example usage:
<div className="bg-[#BA5827]">