Hex Color #FB4B7D - Custom Color

Color Codes

HEX
#FB4B7D
RGB
rgb(251, 75, 125)
HSL
hsl(343, 96%, 64%)
CMYK
cmyk(0%, 70%, 50%, 2%)
HSV
hsv(343, 70%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.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: #FB4B7D;
color: #FB4B7D;
border-color: #FB4B7D;
}

Tailwind CSS (with arbitrary values)

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