Hex Color #C52598 - Custom Color

Color Codes

HEX
#C52598
RGB
rgb(197, 37, 152)
HSL
hsl(317, 68%, 46%)
CMYK
cmyk(0%, 81%, 23%, 23%)
HSV
hsv(317, 81%, 77%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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