Hex Color #FC126F - Custom Color
Color Codes
HEX
#FC126F
RGB
rgb(252, 18, 111)
HSL
hsl(336, 98%, 53%)
CMYK
cmyk(0%, 93%, 56%, 1%)
HSV
hsv(336, 93%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.85:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.46: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: #FC126F;
color: #FC126F;
border-color: #FC126F;
}
Tailwind CSS (with arbitrary values)
bg-[#FC126F]
text-[#FC126F]
border-[#FC126F]
// Example usage:
<div className="bg-[#FC126F]">