Hex Color #D117AC - Custom Color
Color Codes
HEX
#D117AC
RGB
rgb(209, 23, 172)
HSL
hsl(312, 80%, 45%)
CMYK
cmyk(0%, 89%, 18%, 18%)
HSV
hsv(312, 89%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.74:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.43: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: #D117AC;
color: #D117AC;
border-color: #D117AC;
}
Tailwind CSS (with arbitrary values)
bg-[#D117AC]
text-[#D117AC]
border-[#D117AC]
// Example usage:
<div className="bg-[#D117AC]">