Hex Color #AF586D - Custom Color
Color Codes
HEX
#AF586D
RGB
rgb(175, 88, 109)
HSL
hsl(346, 35%, 52%)
CMYK
cmyk(0%, 50%, 38%, 31%)
HSV
hsv(346, 50%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.73:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.44: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: #AF586D;
color: #AF586D;
border-color: #AF586D;
}
Tailwind CSS (with arbitrary values)
bg-[#AF586D]
text-[#AF586D]
border-[#AF586D]
// Example usage:
<div className="bg-[#AF586D]">