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