Hex Color #CA1FAE - Custom Color

Color Codes

HEX
#CA1FAE
RGB
rgb(202, 31, 174)
HSL
hsl(310, 73%, 46%)
CMYK
cmyk(0%, 85%, 14%, 21%)
HSV
hsv(310, 85%, 79%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.32:1
Fail - 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: #CA1FAE;
color: #CA1FAE;
border-color: #CA1FAE;
}

Tailwind CSS (with arbitrary values)

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