Hex Color #AF837B - Custom Color
Color Codes
HEX
#AF837B
RGB
rgb(175, 131, 123)
HSL
hsl(9, 25%, 58%)
CMYK
cmyk(0%, 25%, 30%, 31%)
HSV
hsv(9, 30%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.36: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: #AF837B;
color: #AF837B;
border-color: #AF837B;
}
Tailwind CSS (with arbitrary values)
bg-[#AF837B]
text-[#AF837B]
border-[#AF837B]
// Example usage:
<div className="bg-[#AF837B]">