Hex Color #FA498A - Custom Color
Color Codes
HEX
#FA498A
RGB
rgb(250, 73, 138)
HSL
hsl(338, 95%, 63%)
CMYK
cmyk(0%, 71%, 45%, 2%)
HSV
hsv(338, 71%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.29:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.38: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: #FA498A;
color: #FA498A;
border-color: #FA498A;
}
Tailwind CSS (with arbitrary values)
bg-[#FA498A]
text-[#FA498A]
border-[#FA498A]
// Example usage:
<div className="bg-[#FA498A]">