Hex Color #D8872F - Custom Color
Color Codes
HEX
#D8872F
RGB
rgb(216, 135, 47)
HSL
hsl(31, 68%, 52%)
CMYK
cmyk(0%, 38%, 78%, 15%)
HSV
hsv(31, 78%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.83:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.43:1
Pass - WCAG AA (Normal Text)
Pass - 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: #D8872F;
color: #D8872F;
border-color: #D8872F;
}
Tailwind CSS (with arbitrary values)
bg-[#D8872F]
text-[#D8872F]
border-[#D8872F]
// Example usage:
<div className="bg-[#D8872F]">