Hex Color #D40B4C - Custom Color

Color Codes

HEX
#D40B4C
RGB
rgb(212, 11, 76)
HSL
hsl(341, 90%, 44%)
CMYK
cmyk(0%, 95%, 64%, 17%)
HSV
hsv(341, 95%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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