Hex Color #D24ACE - Custom Color
Color Codes
HEX
#D24ACE
RGB
rgb(210, 74, 206)
HSL
hsl(302, 60%, 56%)
CMYK
cmyk(0%, 65%, 2%, 18%)
HSV
hsv(302, 65%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.74:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.61: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: #D24ACE;
color: #D24ACE;
border-color: #D24ACE;
}
Tailwind CSS (with arbitrary values)
bg-[#D24ACE]
text-[#D24ACE]
border-[#D24ACE]
// Example usage:
<div className="bg-[#D24ACE]">