Hex Color #C42267 - Custom Color

Color Codes

HEX
#C42267
RGB
rgb(196, 34, 103)
HSL
hsl(334, 70%, 45%)
CMYK
cmyk(0%, 83%, 47%, 23%)
HSV
hsv(334, 83%, 77%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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