Hex Color #D524AA - Custom Color
Color Codes
HEX
#D524AA
RGB
rgb(213, 36, 170)
HSL
hsl(315, 71%, 49%)
CMYK
cmyk(0%, 83%, 20%, 16%)
HSV
hsv(315, 83%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.50:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.66: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: #D524AA;
color: #D524AA;
border-color: #D524AA;
}
Tailwind CSS (with arbitrary values)
bg-[#D524AA]
text-[#D524AA]
border-[#D524AA]
// Example usage:
<div className="bg-[#D524AA]">