Hex Color #C60FA8 - Custom Color

Color Codes

HEX
#C60FA8
RGB
rgb(198, 15, 168)
HSL
hsl(310, 86%, 42%)
CMYK
cmyk(0%, 92%, 15%, 22%)
HSV
hsv(310, 92%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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