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