Hex Color #FB0112 - Custom Color

Color Codes

HEX
#FB0112
RGB
rgb(251, 1, 18)
HSL
hsl(356, 99%, 49%)
CMYK
cmyk(0%, 100%, 93%, 2%)
HSV
hsv(356, 100%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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