Hex Color #DF821C - Custom Color
Color Codes
HEX
#DF821C
RGB
rgb(223, 130, 28)
HSL
hsl(31, 78%, 49%)
CMYK
cmyk(0%, 42%, 87%, 13%)
HSV
hsv(31, 87%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.86:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.35:1
Pass - WCAG AA (Normal Text)
Pass - 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: #DF821C;
color: #DF821C;
border-color: #DF821C;
}
Tailwind CSS (with arbitrary values)
bg-[#DF821C]
text-[#DF821C]
border-[#DF821C]
// Example usage:
<div className="bg-[#DF821C]">