Hex Color #E170DC - Custom Color
Color Codes
HEX
#E170DC
RGB
rgb(225, 112, 220)
HSL
hsl(303, 65%, 66%)
CMYK
cmyk(0%, 50%, 2%, 12%)
HSV
hsv(303, 50%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.78:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.55: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: #E170DC;
color: #E170DC;
border-color: #E170DC;
}
Tailwind CSS (with arbitrary values)
bg-[#E170DC]
text-[#E170DC]
border-[#E170DC]
// Example usage:
<div className="bg-[#E170DC]">