Hex Color #D4216D - Custom Color

Color Codes

HEX
#D4216D
RGB
rgb(212, 33, 109)
HSL
hsl(335, 73%, 48%)
CMYK
cmyk(0%, 84%, 49%, 17%)
HSV
hsv(335, 84%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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