Hex Color #F0C4EE - Custom Color
Color Codes
HEX
#F0C4EE
RGB
rgb(240, 196, 238)
HSL
hsl(303, 59%, 85%)
CMYK
cmyk(0%, 18%, 1%, 6%)
HSV
hsv(303, 18%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.52:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.84: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: #F0C4EE;
color: #F0C4EE;
border-color: #F0C4EE;
}
Tailwind CSS (with arbitrary values)
bg-[#F0C4EE]
text-[#F0C4EE]
border-[#F0C4EE]
// Example usage:
<div className="bg-[#F0C4EE]">