Hex Color #D8520F - Custom Color
Color Codes
HEX
#D8520F
RGB
rgb(216, 82, 15)
HSL
hsl(20, 87%, 45%)
CMYK
cmyk(0%, 62%, 93%, 15%)
HSV
hsv(20, 93%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.09:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.13: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: #D8520F;
color: #D8520F;
border-color: #D8520F;
}
Tailwind CSS (with arbitrary values)
bg-[#D8520F]
text-[#D8520F]
border-[#D8520F]
// Example usage:
<div className="bg-[#D8520F]">