Hex Color #AF475A - Custom Color
Color Codes
HEX
#AF475A
RGB
rgb(175, 71, 90)
HSL
hsl(349, 42%, 48%)
CMYK
cmyk(0%, 59%, 49%, 31%)
HSV
hsv(349, 59%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.42:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.87: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: #AF475A;
color: #AF475A;
border-color: #AF475A;
}
Tailwind CSS (with arbitrary values)
bg-[#AF475A]
text-[#AF475A]
border-[#AF475A]
// Example usage:
<div className="bg-[#AF475A]">