Hex Color #E2146C - Custom Color

Color Codes

HEX
#E2146C
RGB
rgb(226, 20, 108)
HSL
hsl(334, 84%, 48%)
CMYK
cmyk(0%, 91%, 52%, 11%)
HSV
hsv(334, 91%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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