Hex Color #28170E - Custom Color
Color Codes
HEX
#28170E
RGB
rgb(40, 23, 14)
HSL
hsl(21, 48%, 11%)
CMYK
cmyk(0%, 42%, 65%, 84%)
HSV
hsv(21, 65%, 16%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 17.23:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.22: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: #28170E;
color: #28170E;
border-color: #28170E;
}
Tailwind CSS (with arbitrary values)
bg-[#28170E]
text-[#28170E]
border-[#28170E]
// Example usage:
<div className="bg-[#28170E]">