Hex Color #AEAFB5 - Custom Color
Color Codes
HEX
#AEAFB5
RGB
rgb(174, 175, 181)
HSL
hsl(231, 5%, 70%)
CMYK
cmyk(4%, 3%, 0%, 29%)
HSV
hsv(231, 4%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.19:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.60: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: #AEAFB5;
color: #AEAFB5;
border-color: #AEAFB5;
}
Tailwind CSS (with arbitrary values)
bg-[#AEAFB5]
text-[#AEAFB5]
border-[#AEAFB5]
// Example usage:
<div className="bg-[#AEAFB5]">