Hex Color #F852DD - Custom Color
Color Codes
HEX
#F852DD
RGB
rgb(248, 82, 221)
HSL
hsl(310, 92%, 65%)
CMYK
cmyk(0%, 67%, 11%, 3%)
HSV
hsv(310, 67%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.90:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.24:1
Pass - WCAG AA (Normal Text)
Pass - 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: #F852DD;
color: #F852DD;
border-color: #F852DD;
}
Tailwind CSS (with arbitrary values)
bg-[#F852DD]
text-[#F852DD]
border-[#F852DD]
// Example usage:
<div className="bg-[#F852DD]">