Hex Color #F902CA - Custom Color

Color Codes

HEX
#F902CA
RGB
rgb(249, 2, 202)
HSL
hsl(311, 98%, 49%)
CMYK
cmyk(0%, 99%, 19%, 2%)
HSV
hsv(311, 99%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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