Hex Color #F8506C - Custom Color
Color Codes
HEX
#F8506C
RGB
rgb(248, 80, 108)
HSL
hsl(350, 92%, 64%)
CMYK
cmyk(0%, 68%, 56%, 3%)
HSV
hsv(350, 68%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.36: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: #F8506C;
color: #F8506C;
border-color: #F8506C;
}
Tailwind CSS (with arbitrary values)
bg-[#F8506C]
text-[#F8506C]
border-[#F8506C]
// Example usage:
<div className="bg-[#F8506C]">