Hex Color #D9014A - Custom Color

Color Codes

HEX
#D9014A
RGB
rgb(217, 1, 74)
HSL
hsl(340, 99%, 43%)
CMYK
cmyk(0%, 100%, 66%, 15%)
HSV
hsv(340, 100%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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