Hex Color #FA52F2 - Custom Color
Color Codes
HEX
#FA52F2
RGB
rgb(250, 82, 242)
HSL
hsl(303, 94%, 65%)
CMYK
cmyk(0%, 67%, 3%, 2%)
HSV
hsv(303, 67%, 98%)
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: #FA52F2;
color: #FA52F2;
border-color: #FA52F2;
}
Tailwind CSS (with arbitrary values)
bg-[#FA52F2]
text-[#FA52F2]
border-[#FA52F2]
// Example usage:
<div className="bg-[#FA52F2]">