Hex Color #FB4CDC - Custom Color

Color Codes

HEX
#FB4CDC
RGB
rgb(251, 76, 220)
HSL
hsl(311, 96%, 64%)
CMYK
cmyk(0%, 70%, 12%, 2%)
HSV
hsv(311, 70%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 7.17:1
Pass - WCAG AA (Normal Text)
Pass - 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: #FB4CDC;
color: #FB4CDC;
border-color: #FB4CDC;
}

Tailwind CSS (with arbitrary values)

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