Hex Color #D02ACA - Custom Color
Color Codes
HEX
#D02ACA
RGB
rgb(208, 42, 202)
HSL
hsl(302, 66%, 49%)
CMYK
cmyk(0%, 80%, 3%, 18%)
HSV
hsv(302, 80%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.87: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: #D02ACA;
color: #D02ACA;
border-color: #D02ACA;
}
Tailwind CSS (with arbitrary values)
bg-[#D02ACA]
text-[#D02ACA]
border-[#D02ACA]
// Example usage:
<div className="bg-[#D02ACA]">