Hex Color #E2107F - Custom Color

Color Codes

HEX
#E2107F
RGB
rgb(226, 16, 127)
HSL
hsl(328, 87%, 47%)
CMYK
cmyk(0%, 93%, 44%, 11%)
HSV
hsv(328, 93%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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