Hex Color #F9AFD7 - Custom Color
Color Codes
HEX
#F9AFD7
RGB
rgb(249, 175, 215)
HSL
hsl(328, 86%, 83%)
CMYK
cmyk(0%, 30%, 14%, 2%)
HSV
hsv(328, 30%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.73:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.14:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #F9AFD7;
color: #F9AFD7;
border-color: #F9AFD7;
}
Tailwind CSS (with arbitrary values)
bg-[#F9AFD7]
text-[#F9AFD7]
border-[#F9AFD7]
// Example usage:
<div className="bg-[#F9AFD7]">