Hex Color #F251CB - Custom Color
Color Codes
HEX
#F251CB
RGB
rgb(242, 81, 203)
HSL
hsl(315, 86%, 63%)
CMYK
cmyk(0%, 67%, 16%, 5%)
HSV
hsv(315, 67%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.08:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.81: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: #F251CB;
color: #F251CB;
border-color: #F251CB;
}
Tailwind CSS (with arbitrary values)
bg-[#F251CB]
text-[#F251CB]
border-[#F251CB]
// Example usage:
<div className="bg-[#F251CB]">