Hex Color #E172CA - Custom Color

Color Codes

HEX
#E172CA
RGB
rgb(225, 114, 202)
HSL
hsl(312, 65%, 66%)
CMYK
cmyk(0%, 49%, 10%, 12%)
HSV
hsv(312, 49%, 88%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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