Hex Color #AF968C - Custom Color
Color Codes
HEX
#AF968C
RGB
rgb(175, 150, 140)
HSL
hsl(17, 18%, 62%)
CMYK
cmyk(0%, 14%, 20%, 31%)
HSV
hsv(17, 20%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.78:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.56: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: #AF968C;
color: #AF968C;
border-color: #AF968C;
}
Tailwind CSS (with arbitrary values)
bg-[#AF968C]
text-[#AF968C]
border-[#AF968C]
// Example usage:
<div className="bg-[#AF968C]">