Hex Color #D4055B - Custom Color

Color Codes

HEX
#D4055B
RGB
rgb(212, 5, 91)
HSL
hsl(335, 95%, 43%)
CMYK
cmyk(0%, 98%, 57%, 17%)
HSV
hsv(335, 98%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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