Hex Color #DA312E - Custom Color

Color Codes

HEX
#DA312E
RGB
rgb(218, 49, 46)
HSL
hsl(1, 70%, 52%)
CMYK
cmyk(0%, 78%, 79%, 15%)
HSV
hsv(1, 79%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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