Hex Color #C6046C - Custom Color

Color Codes

HEX
#C6046C
RGB
rgb(198, 4, 108)
HSL
hsl(328, 96%, 40%)
CMYK
cmyk(0%, 98%, 45%, 22%)
HSV
hsv(328, 98%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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