Hex Color #AC98AB - Custom Color
Color Codes
HEX
#AC98AB
RGB
rgb(172, 152, 171)
HSL
hsl(303, 11%, 64%)
CMYK
cmyk(0%, 12%, 1%, 33%)
HSV
hsv(303, 12%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.68:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.83: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: #AC98AB;
color: #AC98AB;
border-color: #AC98AB;
}
Tailwind CSS (with arbitrary values)
bg-[#AC98AB]
text-[#AC98AB]
border-[#AC98AB]
// Example usage:
<div className="bg-[#AC98AB]">