Hex Color #FA5FDB - Custom Color
Color Codes
HEX
#FA5FDB
RGB
rgb(250, 95, 219)
HSL
hsl(312, 94%, 68%)
CMYK
cmyk(0%, 62%, 12%, 2%)
HSV
hsv(312, 62%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.72:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.72: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: #FA5FDB;
color: #FA5FDB;
border-color: #FA5FDB;
}
Tailwind CSS (with arbitrary values)
bg-[#FA5FDB]
text-[#FA5FDB]
border-[#FA5FDB]
// Example usage:
<div className="bg-[#FA5FDB]">