Hex Color #EC1791 - Custom Color

Color Codes

HEX
#EC1791
RGB
rgb(236, 23, 145)
HSL
hsl(326, 85%, 51%)
CMYK
cmyk(0%, 90%, 39%, 7%)
HSV
hsv(326, 90%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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