Hex Color #F26197 - Custom Color
Color Codes
HEX
#F26197
RGB
rgb(242, 97, 151)
HSL
hsl(338, 85%, 66%)
CMYK
cmyk(0%, 60%, 38%, 5%)
HSV
hsv(338, 60%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.93: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: #F26197;
color: #F26197;
border-color: #F26197;
}
Tailwind CSS (with arbitrary values)
bg-[#F26197]
text-[#F26197]
border-[#F26197]
// Example usage:
<div className="bg-[#F26197]">