Hex Color #F51A8A - Custom Color

Color Codes

HEX
#F51A8A
RGB
rgb(245, 26, 138)
HSL
hsl(329, 92%, 53%)
CMYK
cmyk(0%, 89%, 44%, 4%)
HSV
hsv(329, 89%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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