Hex Color #C40938 - Custom Color

Color Codes

HEX
#C40938
RGB
rgb(196, 9, 56)
HSL
hsl(345, 91%, 40%)
CMYK
cmyk(0%, 95%, 71%, 23%)
HSV
hsv(345, 95%, 77%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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