Hex Color #FA0952 - Custom Color
Color Codes
HEX
#FA0952
RGB
rgb(250, 9, 82)
HSL
hsl(342, 96%, 51%)
CMYK
cmyk(0%, 96%, 67%, 2%)
HSV
hsv(342, 96%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.23: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: #FA0952;
color: #FA0952;
border-color: #FA0952;
}
Tailwind CSS (with arbitrary values)
bg-[#FA0952]
text-[#FA0952]
border-[#FA0952]
// Example usage:
<div className="bg-[#FA0952]">