Hex Color #DF1066 - Custom Color

Color Codes

HEX
#DF1066
RGB
rgb(223, 16, 102)
HSL
hsl(335, 87%, 47%)
CMYK
cmyk(0%, 93%, 54%, 13%)
HSV
hsv(335, 93%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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