Hex Color #F2498E - Custom Color

Color Codes

HEX
#F2498E
RGB
rgb(242, 73, 142)
HSL
hsl(336, 87%, 62%)
CMYK
cmyk(0%, 70%, 41%, 5%)
HSV
hsv(336, 70%, 95%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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