Hex Color #F074C7 - Custom Color

Color Codes

HEX
#F074C7
RGB
rgb(240, 116, 199)
HSL
hsl(320, 81%, 70%)
CMYK
cmyk(0%, 52%, 17%, 6%)
HSV
hsv(320, 52%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.62:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 8.03: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: #F074C7;
color: #F074C7;
border-color: #F074C7;
}

Tailwind CSS (with arbitrary values)

bg-[#F074C7]
text-[#F074C7]
border-[#F074C7]
// Example usage:
<div className="bg-[#F074C7]">