Hex Color #D4408C - Custom Color

Color Codes

HEX
#D4408C
RGB
rgb(212, 64, 140)
HSL
hsl(329, 63%, 54%)
CMYK
cmyk(0%, 70%, 34%, 17%)
HSV
hsv(329, 70%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.91:1
Pass - 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: #D4408C;
color: #D4408C;
border-color: #D4408C;
}

Tailwind CSS (with arbitrary values)

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