Hex Color #FB0A9F - Custom Color

Color Codes

HEX
#FB0A9F
RGB
rgb(251, 10, 159)
HSL
hsl(323, 97%, 51%)
CMYK
cmyk(0%, 96%, 37%, 2%)
HSV
hsv(323, 96%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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