Hex Color #AF837C - Custom Color
Color Codes
HEX
#AF837C
RGB
rgb(175, 131, 124)
HSL
hsl(8, 24%, 59%)
CMYK
cmyk(0%, 25%, 29%, 31%)
HSV
hsv(8, 29%, 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: #AF837C;
color: #AF837C;
border-color: #AF837C;
}
Tailwind CSS (with arbitrary values)
bg-[#AF837C]
text-[#AF837C]
border-[#AF837C]
// Example usage:
<div className="bg-[#AF837C]">